Macaulay2 » Documentation
Packages » Triangulations :: vectors
next | previous | forward | backward | up | index | toc

vectors -- the column vectors of the configuration underlying a triangulation

Description

Returns the columns of the matrix associated to $T$ as a list of column vectors. If $T$ was constructed with the default Homogenize => true, each vector ends with a $1$.

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

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

o3 : List

See also

Ways to use vectors:

  • vectors(Triangulation)

For the programmer

The object vectors is a method function.


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