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

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

o3 : Model

See also