Synopsis:
The display can be used to determine the degrees of the entries in the matrices of the differentials in the chain complex, provided they are homogeneous maps of degree 0.
Here is a sample display:
i1 : R = ZZ/101[a..h] |
i2 : p = genericMatrix(R,a,2,4) |
i3 : q = generators gb p |
i4 : C = resolution cokernel leadTerm q |
i5 : betti C |
The top row of the display indicates the ranks of the free module C_j in column j. The entry below in row i column j gives the number of basis elements of degree i+j.
If these numbers are needed in a program, one way to get them is with tally.
i6 : degrees C_2 |
i7 : t2 = tally degrees C_2 |
i8 : peek t2 |
i9 : t2_{2} |
i10 : t2_{3} |
Code:
-- ../../../Macaulay2/m2/chaincomplexes.m2:659 betti ChainComplex := C -> bettiDisplay rawbetti C