Sophie

Sophie

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

Macaulay2-1.3.1-8.fc15.i686.rpm

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

i1 : P1 = convexHull matrix {{0,1,-1},{0,-1,-1}}

o1 = {ambient dimension => 2           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 3
      number of rays => 0
      number of vertices => 3

o1 : Polyhedron

i2 : P2 = convexHull matrix {{0,1,-1},{0,1,1}}

o2 = {ambient dimension => 2           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 3
      number of rays => 0
      number of vertices => 3

o2 : Polyhedron

i3 : Q = minkowskiSum(P1,P2)

o3 = {ambient dimension => 2           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 6
      number of rays => 0
      number of vertices => 6

o3 : Polyhedron

i4 : vertices Q

o4 = | -2 2 -1 1  -1 1 |
     | 0  0 -1 -1 1  1 |

              2        6
o4 : Matrix QQ  <--- QQ

i5 :