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

isColumnConvex -- Column convexity of a collection of cells

Description

Checks whether a collection of cells $\mathcal{P}$ is column-convex, i.e., every pair of cells in the same column determines an inner interval fully contained in $\mathcal{P}$.

i1 : Q = cellCollection {{1,1},{2,1},{3,1},{1,2},{3,2}};
i2 : isColumnConvex Q

o2 = true


i3 : Q = cellCollection {{1,1},{1,2},{1,3},{2,3},{2,1}};
i4 : isColumnConvex Q

o4 = false

See also

Ways to use isColumnConvex:

  • isColumnConvex(CollectionOfCells)

For the programmer

The object isColumnConvex is a method function with options.


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