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 - Counting lattice points in the Newton polytope
Author Message
  Post subject:  Re: Counting lattice points in the Newton polytope  Reply with quote
Sorry, I have Singular3.1.5, trying to run the example http://www.singular.uni-kl.de/Manual/3- ... tm#SEC1868

After
LIB "oldpolymake.lib";
ring r=0,(x,y,z),dp;
matrix M[4][1]=1,x,y,z;
poly f=y3+x2+xy+2xz+yz+z2+1;
list np=newtonPolytopeP(f);
I get:
? 'polymakePolytopeP' is not defined......
Post Posted: Sat Sep 22, 2012 8:33 pm
  Post subject:  Re: Counting lattice points in the Newton polytope  Reply with quote
No, this is not a bug: you mix a library from version 3-1-5 with a command
from version 3-1-1.
The correct usage depends on your version of Singular:
3-1-1 works with newtonPolytope from the library polymake.lib
3-1-5 (the current version) uses newtopPolytopeP for the library oldpolymake.lib
or newtonPolytop from polymake.so
Post Posted: Thu Sep 20, 2012 5:41 pm
  Post subject:  Counting lattice points in the Newton polytope  Reply with quote
1. Is there some standard command to compute the (inner or total) number of lattice points in the Newton polytope of a given polynomial?

2. I tried to list the points as follows:
LIB "oldpolymake.lib";
ring r=0,(x,y,z),dp;
poly f=x^2+y^4+z^4;
list np=newtonPolytope(f);
(according to http://www.singular.uni-kl.de/Manual/3- ... tm#SEC1628)

But this gives the error:
? `newtonPolytope` is not defined
? error occurred in or before STDIN line 11: `list np=newtonPolytope(f);`

Is this a bug?
Post Posted: Tue Sep 18, 2012 8:54 pm


It is currently Fri May 13, 2022 11:02 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group