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

stdSimplex -- generates the d-dimensional standard simplex

Synopsis

Description

The d-dimensional standard simplex is the convex hull of the standard basis in QQ^(d+1).
i1 : P = stdSimplex 2

o1 = P

o1 : Polyhedron
i2 : vertices P

o2 = | 1 0 0 |
     | 0 1 0 |
     | 0 0 1 |

              3       3
o2 : Matrix QQ  <-- QQ

Ways to use stdSimplex :

For the programmer

The object stdSimplex is a method function.