next | previous | forward | backward | up | top | index | toc | Macaulay2 website
RandomMonomialIdeals :: ER(ZZ,ZZ,RR)

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 => -*Function[/usr/share/Macaulay2/RandomMonomialIdeals.m2:130:23-130:47]*-}
           Name => Erdos-Renyi
           Parameters => (3, 4, .1)

o4 : Model

See also