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

maxCells -- gives the maximal cells of a cell complex

Synopsis

Description

Given a cell complex C, this function returns a hash table containing the maximal cells with respect to containment, sorted by dimension

i1 : S = QQ[x,y,z];
i2 : v1 = newCell({},x);
i3 : v2 = newCell({},y);
i4 : v3 = newCell({},z);
i5 : e = newCell({v1,v2});
i6 : C = cellComplex(S,{e,v3});
i7 : maxCells C

o7 = HashTable{0 => {Cell of dimension 0 with label z}  }
               1 => {Cell of dimension 1 with label x*y}

o7 : HashTable

See also

Ways to use maxCells :

For the programmer

The object maxCells is a method function.