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

regularTriangulation -- Computes a regular triangulation of a given polytope.

Synopsis

Description

This method computes a regular triangulation of a polytope using the package Topcom.m2. The output is a list of list of indices which vertices of P give a simplex in the triangulation.

i1 : T = regularTriangulation hypercube 2

o1 = {{0, 1, 2}, {1, 2, 3}}

o1 : List

Ways to use regularTriangulation :

For the programmer

The object regularTriangulation is a method function.