next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 website
Macaulay2Doc
::
vars(Monoid)
vars(Monoid) -- list of variables in a monoid
Synopsis
Function:
vars
Usage:
vars M
Inputs:
R
,
a
monoid
Outputs:
a
list
, a list of the generators of
M
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:
vars(Monoid)
-- list of variables in a monoid