next | previous | forward | backward | up | top | index | toc | packages | Macaulay2 website
CellularResolutions :: ring(CellComplex)

ring(CellComplex) -- return the base ring of a cell complex

Synopsis

Description

This returns the base ring associated to a cell complex C, which is used to interpret labels.

i1 : R = QQ[x,y];
i2 : vx = newSimplexCell({},x);
i3 : vy = newSimplexCell({},y^2);
i4 : e = newSimplexCell {vx,vy};
i5 : C = cellComplex(R,{e});
i6 : ring(C)

o6 = R

o6 : PolynomialRing

See also

Ways to use this method: