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 |
The object affineHull is a method function.