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

isRowConvex -- Row convexity of a collection of cells

Description

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

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

o2 = false


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

o4 = true

See also

Ways to use isRowConvex:

  • isRowConvex(CollectionOfCells)

For the programmer

The object isRowConvex is a method function with options.


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