Singular Manual: twist

| #### D.15.24.11 twist Procedure from library `tateProdCplxNegGrad.lib` (see tateProdCplxNegGrad_lib). Usage: twist(M,c); M module, c intvec Purpose: twists the module M by c Assume: M is a multigraded module Return: M with the new grading Example:
    LIB "tateProdCplxNegGrad.lib";
    intvec c = 1,1;
    def (S,E) = productOfProjectiveSpaces(c);
    setring(S);
    module M = freemodule(2);
    intmat gradeM[2][2] = 0,1,0,1;
    M = setModuleGrading(M,gradeM);
    getModuleGrading(M);
    intvec c = 2,2;
    module Mtwist = twist(M,c);
    getModuleGrading(Mtwist);

User manual for Singular version 4.3.2, 2023, generated by texi2html.