Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 5678

Macaulay2-1.3.1-8.fc15.i686.rpm

-- -*- M2-comint -*- {* hash: -626208009 *}

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 = {ambient dimension => 3           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 6
      number of rays => 0
      number of vertices => 6

o3 : Polyhedron

i4 :