Choose a random square-free monomial ideal whose generators have the degrees specified by the list or sequence L.
|
|
|
|
|
|
The ideal is constructed degree by degree, starting from the lowest degree specified. If there are not enough monomials of the next specified degree that are not already in the ideal, the function prints a warning and returns an ideal containing all the generators of that degree.
The object randomSquareFreeMonomialIdeal is a method function.