|
D.16.1.23 latticeCodegree
Syntax:
Polymake::latticeCodegree( polytope p )
Type:
- int
Purpose:
- getDimension(p)+1-latticeDegree(p), which is the smallest number k such that k*p has an interior lattice point.
Example:
| intmat M[4][3]=1,1,0, 1,1,1, 1,0,1, 1,0,0;
polytope p = polytopeViaPoints(M);
Polymake::latticeCodegree(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::latticeCodegree(q);
|
|