|
D.16.1.33 nHilbertBasis
Syntax:
Polymake::nHilbertBasis( cone c )
Type:
- int
Purpose:
- the number of elements in the Hilbert basis of the semigroup of lattice points in c.
Example:
| intmat M[3][4]=1,1,0,0, 1,0,1,0, 1,0,0,0;
intmat N[3][4]=1,0,0,1, 1,-1,-1,-1, 1,0,0,0;
polytope p = polytopeViaPoints(M);
polytope q = polytopeViaPoints(N);
polytope pq = Polymake::minkowskiSum(p,q);
pq;
|
|