|
D.16.1.24 latticeDegree
Syntax:
Polymake::latticeDegree( polytope p )
Type:
- int
Purpose:
- getDimension(p)+1-latticeCodegree(p), which is the degree of the Ehrhart polynomial of p.
Example:
| intmat M[4][3]=1,1,0, 1,1,1, 1,0,1, 1,0,0;
polytope p = polytopeViaPoints(M);
Polymake::latticeDegree(p);
intmat N[4][4]=1,1,0,0, 1,0,1,0, 1,0,0,1, 1,0,0,0;
polytope q = polytopeViaPoints(N);
Polymake::latticeDegree(q);
|
|