Macaulay2 » Documentation
Packages » CellularResolutions :: isSimplex
next | previous | forward | backward | up | index | toc

isSimplex -- check if a cell is a simplex

Synopsis

Description

This determines whether a cell C is a simplex. A simplex in this context is a cell of dimension $d$ with a boundary containing exactly $d+1$ dimension $d-1$ cells

i1 : v1 = newCell {};
i2 : v2 = newCell {};
i3 : e1 = newCell {v1,v2};
i4 : isSimplex e1

o4 = true
i5 : e2 = newCell {v1,v1};
i6 : isSimplex e2

o6 = false

Ways to use isSimplex :

For the programmer

The object isSimplex is a method function.