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

cellLabel -- return the label of a cell

Synopsis

Description

The label is provided at the creation of the cell and cannot be modified, neither this function nor any of the cell creation functions attempt to interpret the label and while the labels generally should be monomials, this package makes no attempt to enforce such a requirement.

i1 : R = QQ[x,y];
i2 : v1 = newSimplexCell({},x^2);
i3 : v2 = newSimplexCell({},x*y^2);
i4 : v3 = newSimplexCell {};
i5 : e = newSimplexCell {v1,v2};
i6 : C = cellComplex(R,{e,v3});
i7 : cellLabel v1

      2
o7 = x

o7 : R
i8 : cellLabel e

      2 2
o8 = x y

o8 : R
i9 : cellLabel v3

o9 = 1

See also

Ways to use cellLabel :

For the programmer

The object cellLabel is a method function.