[top][index]
search for:

map Matrix -- make a map

Synopsis:

  • Function: map -- make a map
  • Input:
  • an instance of class Matrix.
  • Output:
  • an instance of class Matrix.
  • Optional arguments :
  • map(..., Degree)
  • map(..., DegreeMap => ...)
  • map(f, Degree => d) -- make a map of degree d from a map f of modules by tensoring the source module with a free module of rank 1 and appropriate degree.

    Code:

         -- ../../../Macaulay2/m2/matrix1.m2:16-22
         map(Matrix) := Matrix => options -> (f) -> (
              if options.Degree === null then f
              else (
                   R := ring source f;
                   d := options.Degree;
                   if class d === ZZ then d = {d};
                   map(target f, source f ** R^{d - degree f}, f, options)))

    [top][index]
    search for: