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

cellComplexTorus -- gives a torus as a cell complex

Synopsis

Description

This function returns the n-dimensional torus as a cell complex in the usual way: the product of n copies of $S^1$.

i1 : T3 = cellComplexTorus(QQ,3)

o1 = T3

o1 : CellComplex
i2 : cells(T3)

o2 = HashTable{0 => {Cell of dimension 0 with label 1}                                                                    }
               1 => {Cell of dimension 1 with label 1, Cell of dimension 1 with label 1, Cell of dimension 1 with label 1}
               2 => {Cell of dimension 2 with label 1, Cell of dimension 2 with label 1, Cell of dimension 2 with label 1}
               3 => {Cell of dimension 3 with label 1}

o2 : HashTable
i3 : prune homology T3

o3 = -1 : 0  

      0 : 0  

            3
      1 : QQ

            3
      2 : QQ

            1
      3 : QQ

o3 : GradedModule

See also

Ways to use cellComplexTorus :

For the programmer

The object cellComplexTorus is a method function.