Top
Back: isVeryAmple
Forward: latticeDegree
FastBack: SINGULAR libraries
FastForward: Release Notes
Up: polymake_so
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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);

Top Back: isVeryAmple Forward: latticeDegree FastBack: SINGULAR libraries FastForward: Release Notes Up: polymake_so Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.