Macaulay2 » Documentation
Packages » Triplets :: type(Triplet)
next | previous | forward | backward | up | index | toc

type(Triplet) -- number of variables

Description

i1 : T = triplet({1,2,3}, {0,2}, {0,2,3})

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

o1 : Triplet
i2 : type(T)

o2 = 3

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Triplets.m2:918:0.