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

Matrix ^ ZZ -- a binary operator, usually used for exponents

Synopsis:

  • Operator: ^ -- a binary operator, usually used for exponents
  • Input:
  • an instance of class Matrix.
  • an instance of class ZZ.
  • Output:
  • an instance of class Matrix.
  • Code:

         -- ../m2/matrix.m2:187-189
         Matrix ^ ZZ := Matrix => (f,n) -> (
              if n === 0 then id_(target f)
              else SimplePowerMethod (f,n))

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