# affineHull -- computes the affine hull of a polyhedron

## Synopsis

• Usage:
Q = affineHull P
• Inputs:
• Outputs:

## 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 :

• "affineHull(Polyhedron)"

## For the programmer

The object affineHull is .