Calculates the dominant eigenvalue of a matrix.

  • Parameters

    • matr: ChalkboardMatrix

      The matrix

    • OptionalmaxIterations: number = 100

      The number of iterations the algorithm runs

    Returns number