[top][index]
search for:

chainComplex GradedModule -- make a chain complex from a graded module

Synopsis:

  • Function: chainComplex -- make a chain complex
  • Input:
  • an instance of class GradedModule.
  • Output:
  • an instance of class ChainComplex.
  • chainComplex M -- convert a graded module to a chain complex by installing the zero map as differential.

    See also:

  • GradedModule -- the class of all graded modules
  • ChainComplex -- the class of all chain complexes
  • Code:

         -- ../../../Macaulay2/m2/chaincomplexes.m2:668-673
         chainComplex GradedModule := ChainComplex => (M) -> (
              C := new ChainComplex from M;
              b := C.dd = new ChainComplexMap;
              b.degree = -1;
              b.source = b.target = C;
              C)

    [top][index]
    search for: