Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » Type » Monoid » vars(Monoid)
next | previous | forward | backward | up | index | toc

vars(Monoid) -- list of variables in a monoid

Description

The result is the same as that provided by generators(Monoid).
i1 : M = monoid[x,y,z]

o1 = M

o1 : GeneralOrderedMonoid
i2 : vars M

o2 = {x, y, z}

o2 : List

Ways to use this method:


The source of this document is in Macaulay2Doc/functions/vars-doc.m2:46:0.