i1 : P1 = convexHull matrix {{1,-1,0,0},{0,0,1,-1}}
o1 = {ambient dimension => 2 }
dimension of lineality space => 0
dimension of polyhedron => 2
number of facets => 4
number of rays => 0
number of vertices => 4
o1 : Polyhedron
|
i2 : P2 = convexHull matrix {{1},{-1}}
o2 = {ambient dimension => 2 }
dimension of lineality space => 0
dimension of polyhedron => 0
number of facets => 1
number of rays => 0
number of vertices => 1
o2 : Polyhedron
|
i3 : P = P1 * P2
o3 = {ambient dimension => 4 }
dimension of lineality space => 0
dimension of polyhedron => 2
number of facets => 4
number of rays => 0
number of vertices => 4
o3 : Polyhedron
|
i4 : vertices P
o4 = | -1 1 0 0 |
| 0 0 -1 1 |
| 1 1 1 1 |
| -1 -1 -1 -1 |
4 4
o4 : Matrix QQ <--- QQ
|