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

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

Synopsis

Description

Creates an ER-type model for sampling monomials of degree at most $D$ from the ring $R$ independently with probability $p$.

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

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

o3 : Model

See also

Ways to use this method: