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

net(CellComplex) -- Describes a cell complex or cell

Description

For cell complexes, this method uses GlobalAssignHook to use the name of the cell complex if the cell complex is assigned to a global variable. Otherwise the method returns a short description of the cell complex.

For individual cells, the description contains only the dimension and the label, the data of the boundary of the cell is not given in the description.

i1 : R = QQ[x,y];
i2 : v1 = newSimplexCell({},x);
i3 : v2 = newSimplexCell({},y);
i4 : e1 = newSimplexCell({v1,v2},x);
i5 : e2 = newSimplexCell({v1,v2},y);
i6 : f = newCell({(e1,1),(e2,-1)},x*y);
i7 : net cellComplex(R,{f})

o7 = Cell complex over R of dimension 2 with 5 total cells
i8 : net f

o8 = Cell of dimension 2 with label x*y
i9 : X = cellComplex(R,{f});
i10 : net X

o10 = X

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/CellularResolutions/doc.m2:1635:0.