Macaulay2 » Documentation
Packages » CellularResolutions :: ring(CellComplex)
next | previous | forward | backward | up | index | toc

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: