Macaulay2 » Documentation
Packages » PolyominoIdeals » randomCollectionOfCells
next | previous | forward | backward | up | index | toc

randomCollectionOfCells -- Random collection of cells up to a given size

Description

Produces a random collection of cells with a randomly chosen number of cells between $1$ and the given bound $m$.

i1 : Q = randomCollectionOfCells 8

o1 = {{1, 1}, {1, 0}, {1, 2}, {0, 0}}

o1 : CollectionOfCells

See also

Ways to use randomCollectionOfCells:

  • randomCollectionOfCells(ZZ)

For the programmer

The object randomCollectionOfCells is a method function with options.


The source of this document is in PolyominoIdeals.m2:1613:0.