A new chain complex can be made with 'C = new ChainComplex'. This will automatically initialize C.dd, in which the differentials are stored. The modules can be installed with statements like 'C#i=M' and the differentials can be installed with statements like 'C.dd#i=d'.
See also ChainComplexMap for a discussion of maps between chain complexes. (The boundary map C.dd is regarded as one.)
Here are some functions for producing or manipulating chain complexes.
The default display for a chain complex shows the modules and the stage at which they appear.
i1 = R = ZZ/101[x,y,z] o1 = R o1 : PolynomialRing
i2 = C = resolution cokernel matrix {{x,y,z}} 1 3 3 1 o2 = R <-- R <-- R <-- R 0 1 2 3 o2 : ChainComplexIn order to see the matrices of the differentials, examine 'C.dd'.
i3 = C.dd 1 3 o3 = 1: R <--| x y z |-- R 3 3 2: R <--| -y -z 0 |-- R | x 0 -z | | 0 x y | 3 1 3: R <--| z |-- R | -y | | x | o3 : ChainComplexMap
See also Resolution and dd.
Go to main index.
Go to concepts index.