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.
- Alphabetic
- By Inheritance
- Eigenvalue
- Error
- Eigen
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- var converging: Boolean
-
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
- var g: MatrixD
-
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
- var lastE: Double
-
def
reorder(): Unit
Reorder the eigenvalue vector 'e' in non-increasing order.