Singular Manual: grshift

| #### D.15.10.5 grshift Procedure from library `gradedModules.lib` (see gradedModules_lib). Usage: grshift(A, d), graded objects A, int d Return: shifted graded object Purpose: shift the grading on A by d: A_i -> A_{i+/-d}? Example:
    LIB "gradedModules.lib";
    ring r=32003,(x,y,z),dp;
    module A = grobj( module([x+y, x, 0, 0], [0, x+y, y, 0]), intvec(0,0,0,1) );
    grview(A);
    ==>        1   2
    ==>      --------
    ==>   0 :  1   . |  1
    ==>   0 :  1   1 |  2
    ==>   0 :  .   1 |  3
    ==>   1 :  .   . |  4
    ==>      ========
    ==>        1   1
    module S = grshift( A,  6);
    grview(S);
    ==>        1   2
    ==>      --------
    ==>  -6 :  1   . |  1
    ==>  -6 :  1   1 |  2
    ==>  -6 :  .   1 |  3
    ==>  -5 :  .   . |  4
    ==>      ========
    ==>       -5  -5

User manual for Singular version 4-0-2, 2015, generated by texi2html.