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

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

Synopsis

Description

Creates an ER-type model for sampling a set of $M$ monomials in $n$ variables of degree at most $D$.

i1 : n=3; D=4; M=5;
i4 : myModel = ER(n,D,M)

o4 = Model{Generate => -*Function[/usr/share/Macaulay2/RandomMonomialIdeals.m2:150:23-150:47]*-}
           Name => Erdos-Renyi
           Parameters => (3, 4, 5)

o4 : Model

See also