Macaulay2 » Documentation
Packages » RandomMonomialIdeals :: ER(ZZ,ZZ,List)
next | previous | forward | backward | up | index | toc

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 => FunctionClosure[/usr/local/share/Macaulay2/RandomMonomialIdeals.m2:172:20-172:51]}
           Name => Erdos-Renyi
           Parameters => (3, 4, {.1, .2, .3, .4})

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

o8 = Model{Generate => FunctionClosure[/usr/local/share/Macaulay2/RandomMonomialIdeals.m2:172:20-172:51]}
           Name => Erdos-Renyi
           Parameters => (3, 4, {1, 2, 2, 1})

o8 : Model

See also

Ways to use this method: