next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Triplets :: isDegreeTriplet(Triplet)

isDegreeTriplet(Triplet) -- checks if it is a degree triplet

Synopsis

Description

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

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

o1 : Triplet
i2 : isDegreeTriplet(T1)

o2 = true
i3 : T2 = triplet({1,2,3}, {0,2}, {0,1,3})

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

o3 : Triplet
i4 : isDegreeTriplet(T2)
second and third are underbalanced

o4 = false

See also