Back to Forum | View unanswered posts | View active topics
Topic review - Counting lattice points in the Newton polytope |
Author |
Message |
|
|
Post subject: |
Re: Counting lattice points in the Newton polytope |
|
|
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......
Sorry, I have Singular3.1.5, trying to run the example http://www.singular.uni-kl.de/Manual/3-1-5/sing_1792.htm#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......
|
|
|
|
Posted: Sat Sep 22, 2012 8:33 pm |
|
|
|
|
|
Post subject: |
Re: Counting lattice points in the Newton polytope |
|
|
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
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
|
|
|
|
Posted: Thu Sep 20, 2012 5:41 pm |
|
|
|
|
|
Post subject: |
Counting lattice points in the Newton polytope |
|
|
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?
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-1-1/sing_1551.htm#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?
|
|
|
|
Posted: Tue Sep 18, 2012 8:54 pm |
|
|
|
|
|
It is currently Fri May 13, 2022 11:02 am
|
|