Macaulay2 » Documentation
Packages » OldPolyhedra :: 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 = {ambient dimension => 3           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 3
      number of rays => 0
      number of vertices => 3

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.