![[next]](next.gif)
![[previous]](previous.gif)
![[up]](up.gif)
![[top]](top.gif)
sum C -- yields the sum of the modules in a chain complex.
The degrees of the components are preserved.
i1 : R = ZZ/101[a..d]; |
i2 : C = res coker vars R |
i3 : sum C |
i4 : degrees oo |
See also:
Synopsis of use:
Code:
-- ../m2/chaincomplexes.m2:67
sum ChainComplex := Module => C -> directSum apply(sort spots C, i -> C_i)
![[next]](next.gif)
![[previous]](previous.gif)
![[up]](up.gif)
![[top]](top.gif)