Macaulay2 » Documentation
Packages » Triangulations :: max(Triangulation)
next | previous | forward | backward | up | index | toc

max(Triangulation) -- the maximal simplices of a triangulation

Description

Returns the list of maximal simplices of the triangulation. The outer list is sorted, and each inner list (a simplex) is sorted as well, so that two triangulations with the same simplices have identical max.

i1 : A = transpose matrix {{0,3},{0,1},{-1,-1},{1,-1},{-4,-2},{4,-2}}

o1 = | 0 0 -1 1  -4 4  |
     | 3 1 -1 -1 -2 -2 |

              2       6
o1 : Matrix ZZ  <-- ZZ
i2 : T = regularFineTriangulation A

o2 = triangulation {{0, 1, 2}, {0, 1, 3}, {0, 2, 4}, {0, 3, 5}, {1, 2, 3}, {2, 3, 4}, {3, 4, 5}}

o2 : Triangulation
i3 : max T

o3 = {{0, 1, 2}, {0, 1, 3}, {0, 2, 4}, {0, 3, 5}, {1, 2, 3}, {2, 3, 4}, {3,
     ------------------------------------------------------------------------
     4, 5}}

o3 : List

See also

Ways to use this method:


The source of this document is in Triangulations.m2:1600:0.