[next][previous][up][top][index]
search for:

degree Matrix -- the degree

Synopsis:

  • Function: degree -- the degree
  • Input:
  • an instance of class Matrix.
  • Output:
  • an instance of class List.
  • Code:

         -- ../../../Macaulay2/m2/matrix1.m2:681-687
         degree Matrix := List => (f) -> (
              M := source f;
              N := target f;
              d := getshift f;
              if M.?generators then d = d - getshift M.generators;
              if N.?generators then d = d + getshift N.generators;
              d)

    [next][previous][up][top][index]
    search for: