# simplex -- Produces a full-dimensional simplex

## Synopsis

• Usage:
S = simplex d
S = simplex(d, a)
• Inputs:
• d, an integer, The dimension
• a, , The dilation factor
• Outputs:

## Description

Returns the d-dimensional simplex that is the convex hull of the origin and the unit vectors in QQ^d.

 i1 : S = simplex 2 o1 = S o1 : Polyhedron i2 : S = simplex(2,2) o2 = S o2 : Polyhedron

## Ways to use simplex :

• "simplex(ZZ)"
• "simplex(ZZ,QQ)"
• "simplex(ZZ,ZZ)"

## For the programmer

The object simplex is .