|
D.16.1.26 latticeVolume
Syntax:
Polymake::latticeVolume( polytope p )
Assume:
- p bounded.
Type:
- int
Purpose:
- the lattice volume of p.
Example:
| intmat M[4][3]=1,1,0, 1,1,1, 1,0,1, 1,0,0;
polytope p = polytopeViaPoints(M);
Polymake::latticeVolume(p);
intmat N[4][3]=1,1,0, 1,2,1, 1,0,1, 1,0,0;
polytope q = polytopeViaPoints(N);
Polymake::latticeVolume(q);
intmat W[4][4]=1,1,0,0, 1,0,1,0, 1,0,0,1, 1,0,0,0;
polytope r = polytopeViaPoints(W);
Polymake::latticeVolume(r);
|
|