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

ER(ZZ,ZZ,List) -- Graded Erdos-Renyi type distribution on monomials over (n,D,L)

Synopsis

Description

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

i1 : n1=3; D1=4; L1={0.1,0.2,0.3,0.4};
i4 : n2=3; D2=4; L2={1,2,2,1};
i7 : myModel1 = ER(n1,D1,L1)

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

o7 : Model
i8 : myModel2 = ER(n2,D2,L2)

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

o8 : Model

See also