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

simplex -- Produces a full-dimensional simplex

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 a method function.


The source of this document is in Polyhedra/documentation/documentation.m2:422:0.