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

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

Synopsis

Description

Creates an ER-type model for sampling monomials in $n$ variables of degree at most $D$ independently with probability $p$.

i1 : n=3; D=4; p=0.1;
i4 : myModel = ER(n,D,p)

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

o4 : Model

See also

Ways to use this method: