


![[top]](top.gif)
Synopsis:
C[i] -- shifts the graded module C, producing a new graded module D in which D_j is C_(i+j).
Code:
-- ../../../Macaulay2/m2/gradedmodules.m2:265-271
GradedModule Array := GradedModule => (C,A) -> (
if # A =!= 1 then error "expected array of length 1";
n := A#0;
D := new GradedModule;
D.ring = C.ring;
scan(spots C, i -> D#(i-n) = C#i);
D)



![[top]](top.gif)