Home Online Manual
Top
Back: boundaryLatticePoints
Forward: facetVertexLatticeDistances
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.2 ehrhartPolynomialCoeff

Syntax:
Polymake::ehrhartPolynomialCoeff( polytope p )
Assume:
p bounded
Type:
intvec
Purpose:
coefficients of the Ehrhart polynomial of p.
Example:
 
  LIB"polymake.lib";
  intmat M[6][4]=1,1,1,2, 1,-1,-1,-2, 1,1,0,0, 1,-1,0,0, 1,0,1,0, 1,0,-1,0;
  polytope p = polytopeViaPoints(M);
  Polymake::ehrhartPolynomialCoeff(p);