Macaulay2 » Documentation
Packages » RandomMonomialIdeals :: VariableName
next | previous | forward | backward | up | index | toc

VariableName -- optional input to choose the indexed variable name for the polynomial ring

Description

Put VariableName => x for a choice of string or symbol x as an argument in the function randomMonomialSet, randomMonomialSets or randomMonomialIdeals

i1 : n=2; D=3; p=0.2;
i4 : randomMonomialSet(n,D,p)

       2   2     3
o4 = {x , x x , x }
       1   1 2   2

o4 : List
i5 : randomMonomialSet(n,D,p,VariableName => y)

       2
o5 = {y y }
       1 2

o5 : List

See also

Functions with optional argument named VariableName :

For the programmer

The object VariableName is a symbol.