Packages

class Eigenvalue extends Eigen with Error

The Eigenvalue class is used to find the eigenvalues of an 'n' by 'n' matrix 'a' using an iterative technique that applies similarity transformations to convert 'a' into an upper triangular matrix, so that the eigenvalues appear along the diagonal. To improve performance, the 'a' matrix is first reduced to Hessenburg form. During the iterative steps, a shifted 'QR' decomposition is performed. Caveats: (1) it will not handle eigenvalues that are complex numbers, (2) it uses a simple shifting strategy that may slow convergence.

Linear Supertypes
Error, Eigen, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Eigenvalue
  2. Error
  3. Eigen
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Eigenvalue(a: MatrixD)

    a

    the matrix whose eigenvalues are sought

Value Members

  1. var converging: Boolean
  2. final def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  3. var g: MatrixD
  4. def getE(order: Boolean = true): VectorD

    Get the eigenvalue 'e' vector.

    Get the eigenvalue 'e' vector.

    order

    whether to order the eigenvalues in non-increasing order

  5. var lastE: Double
  6. def reorder(): Unit

    Reorder the eigenvalue vector 'e' in non-increasing order.