Macaulay2 » Documentation
Packages » RandomMonomialIdeals :: ER(ZZ,ZZ,ZZ)
next | previous | forward | backward | up | index | toc

ER(ZZ,ZZ,ZZ) -- Erdos-Renyi type distribution on monomials over (n,D,M)

Synopsis

Description

Creates an ER-type model for sampling a set of $M$ monomials in $n$ variables of degree at most $D$.

i1 : n=3; D=4; M=5;
i4 : myModel = ER(n,D,M)

o4 = Model{Generate => FunctionClosure[/usr/local/share/Macaulay2/RandomMonomialIdeals.m2:150:20-150:48]}
           Name => Erdos-Renyi
           Parameters => (3, 4, 5)

o4 : Model

See also

Ways to use this method: