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

simplex -- Produces a full-dimensional simplex

Synopsis

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 :

For the programmer

The object simplex is a method function.