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

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

Synopsis

Description

Creates an ER-type model for sampling a set of $M$ monomials of degree at most $D$ from the ring $R$.

i1 : D=4; M=5;
i3 : myModel = ER(ZZ/101[a..d],4,5)

o3 = Model{Generate => FunctionClosure[/usr/local/share/Macaulay2/RandomMonomialIdeals.m2:158:20-158:48]}
           Name => Erdos-Renyi
                           ZZ
           Parameters => (---[a..d], 4, 5)
                          101

o3 : Model

See also

Ways to use this method: