|
D.16.1.25 latticePoints
Syntax:
Polymake::latticePoints( polytope p )
Assume:
- p bounded.
Type:
- intmat
Purpose:
- intmat, whose rows are the lattice points in 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);
|
|