


![[top]](top.gif)
Synopsis:
M[n] -- create a chain complex with the module M concentrated in degree -n.
See also:
Code:
-- ../../../Macaulay2/m2/chaincomplexes.m2:816-823
Module Array := ChainComplex => (M,v) -> (
if #v =!= 1 then error "expected array of length 1";
n := v#0;
if class n =!= ZZ then error "expected [n] with n an integer";
C := new ChainComplex;
C.ring = ring M;
C#-n = M;
C)



![[top]](top.gif)