|  |  D.13.1.57 newtonPolytope Procedure from librarygfan.lib(see  gfan_lib).
 
Example:Usage:
newtonPolytope(f); f poly
Return:
polytope, the convex hull of all exponent vectors of f
 |  | LIB "gfan.lib";
ring r;
poly f=x+y+z;
polytope p=newtonPolytope(f);
p;
==> AMBIENT_DIM
==> 3
==> INEQUALITIES
==> 0,0,0,1,
==> 0,0,1,0,
==> 0,1,0,0
==> EQUATIONS
==> 1,-1,-1,-1
==> 
 | 
 
 |