p, a real number, the probability of selecting a monomial, OR
M, an integer, number of monomials in the set, up to the maximum number of monomials in $n$ variables of degree at most $D$ OR
a list, of real numbers whose $i$-th entry is the probability of selecting a monomial of degree $i$, OR
a list, of integers whose $i$-th entry is the number of monomials of degree $i$ in each set, up to the maximum number of monomials in $n$ variables of degree exactly $i$
This function creates $N$ random sets of monomials of degree $d$, $1\leq d\leq D$, in $n$ variables. It does so by calling randomMonomialSet $N$ times.
See also
randomMonomialSet -- randomly generates a list of monomials in fixed number of variables up to a given degree