next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
MatrixRepToric :: polynomialsToPolytope

polynomialsToPolytope -- Return the convexHull of the union of the Newton polytope of all the polynomial in the list

Synopsis

Description

Given a list l={f_0..f_n} of polynomials in two variables this method computes the convexHull of the union of the Newton polytope of all the polynomial in the list. This is, if N_i= newtonPolytope(f_i), then polynomialsToPolytope(l)= convexHull(N_0,...,N_n).

i1 : S = QQ[s,t]; 
i2 : f0 = s^2+s^3*t; 
i3 : f1 = s^3*t^6+1; 
i4 : f2 = s*t^2+2*s^3*t^5; 
i5 : f3 = s^2+s^3*t^6; 
i6 : l = {f0,f1,f2,f3};
i7 : N = polynomialsToPolytope(l);

See also

Ways to use polynomialsToPolytope :