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

matrix(Triangulation) -- the matrix whose columns are the points of a triangulation

Description

Returns the configuration matrix stored in $T$. By default this is the homogenized matrix, with a final row of $1$'s appended; if $T$ was constructed with Homogenize => false, it is the original matrix passed to the constructor.

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 : matrix T

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

              3       6
o3 : Matrix ZZ  <-- ZZ
i4 : numRows matrix T == numRows A + 1

o4 = true

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.06+ds/M2/Macaulay2/packages/Triangulations.m2:1660:0.