Counting lattice points in the Newton polytope
Dmitry · Tue Sep 18, 2012 8:54 pm
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?
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?