Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Error in using HilberClassPoly command
Author Message
  Post subject:  Re: Error in using HilberClassPoly command  Reply with quote
I checked that the manual I was using is version 3-1-1, Feb 2010 and its older version.
In newer version it is bigint.

Thanks for replying.
Post Posted: Fri Jun 24, 2016 11:51 am
  Post subject:  Re: Error in using HilberClassPoly command  Reply with quote
D must be of type bigint (or int), and the manual tells this:
Code:
LIB "atkins.lib";
ring r = 0,x,dp;
bigint D=-23;
HilbertClassPoly(D,50);
==> x3+3491750x2-5151296875x+12771880859375
Post Posted: Fri Jun 24, 2016 10:12 am
  Post subject:  Error in using HilberClassPoly command  Reply with quote
Even if I run the example given in manual for HilberClassPoly from atkins.lib, I get following error,

> ring r = 0,x,dp;
> number D=-23;
> HilbertClassPoly (D,50);
? `bigint`(D) = `number` is not supported
? expected `bigint` = `bigint`
? error occurred in or before atkins.lib::HilbertClassPoly line 524: `parameter bigint D; parameter int k;
? leaving atkins.lib::HilbertClassPoly
skipping text from `;` error at token `)`

Version Details:
Development version 4.0.2
Feb 2015

Though I can do specify it directly,
> HilbertClassPoly (-23,50);
x3+3491750x2-5151296875x+12771880859375

Can someone please make necessary changes in manual please?
Post Posted: Thu Jun 23, 2016 6:49 pm


It is currently Wed Dec 13, 2017 10:34 pm
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group