Home Online Manual
Top
Back: newtonPolytopeP
Forward: normalFanL
FastBack: Tropical Geometry
FastForward: realizationMatroids_lib
Up: polymake_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.1.3 newtonPolytopeLP

Procedure from library polymake.lib (see polymake_lib).

Usage:
newtonPolytopeLP(f); f poly

Return:
list, the exponent vectors of the monomials occuring in f, i.e. the lattice points of the Newton polytope of f

Example:
 
LIB "polymake.lib";
ring r=0,(x,y,z),dp;
poly f=y3+x2+xy+2xz+yz+z2+1;
// the lattice points of the Newton polytope of f are
newtonPolytopeLP(f);