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

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

Synopsis

Description

Creates an ER-type model for sampling a set of $M$ monomials of degree at most $D$ from the ring $R$.

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

o3 = Model{Generate => -*Function[/usr/share/Macaulay2/RandomMonomialIdeals.m2:158:23-158:47]*-}
           Name => Erdos-Renyi
                           ZZ
           Parameters => (---[a..d], 4, 5)
                          101

o3 : Model

See also