i1 : R = QQ[a,b,c] o1 = R o1 : PolynomialRing |
i2 : f = (a-b)*(a-c)*(b-c) 2 2 2 2 2 2 o2 = a b - a*b - a c + b c + a*c - b*c o2 : R |
i3 : P = newtonPolytope f o3 = P o3 : Polyhedron |
The object newtonPolytope is a method function.