Macaulay2 » Documentation
Packages » Polyhedra :: affineHull
next | previous | forward | backward | up | index | toc

affineHull -- computes the affine hull of a polyhedron

Synopsis

Description

Computes the affine hull of a polyhedron. This is the affine subspace with the same dimension as the polyhedron, containing the polyhedron.
i1 : P = stdSimplex 3

o1 = P

o1 : Polyhedron
i2 : Q = affineHull P

o2 = Q

o2 : Polyhedron
i3 : linealitySpace Q

o3 = | -1 -1 -1 |
     | 1  0  0  |
     | 0  1  0  |
     | 0  0  1  |

              4        3
o3 : Matrix QQ  <--- QQ

Ways to use affineHull :

For the programmer

The object affineHull is a method function.