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)

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[${prefix}/share/Macaulay2/RandomMonomialIdeals.m2:138:20-138:48]}
           Name => Erdos-Renyi
                           ZZ
           Parameters => (---[a..d], 4, .1)
                          101

o3 : Model

See also

Ways to use this method:


The source of this document is in RandomMonomialIdeals.m2:1956:0.