Home Online Manual
Top
Back: isGorenstein
Forward: isNormal
FastBack: gfanlib_so
FastForward: Release Notes
Up: polymake_so
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.16.2.17 isLatticeEmpty

Syntax:
Polymake::isLatticeEmpty( polytope p )
Type:
int
Purpose:
1 if p contains no lattice points other than the vertices, 0 otherwise.
Example:
 
  LIB"polymake.lib";
  intmat M[4][3]=1,1,0, 1,1,1, 1,0,1, 1,0,0;
  polytope p = polytopeViaPoints(M);
  Polymake::isLatticeEmpty(p);
  intmat N[4][3]=1,1,0, 1,2,1, 1,0,1, 1,0,0;
  polytope q = polytopeViaPoints(N);
  Polymake::isLatticeEmpty(q);