Eigenvalues and eigenvectors of a real matrix. If A is symmetric, then A = VDV' where the eigenvalue matrix D is diagonal and the eigenvector matrix V is orthogonal. I.e. A = V.Multiply(D.Multiply(V.Transpose())) and V.Multiply(V.Transpose()) equals the identity matrix. If A is not symmetric, then the eigenvalue matrix D is block diagonal with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues, lambda + imu, in 2-by-2 blocks, [lambda, mu; -mu, lambda]. The columns of V represent the eigenvectors in the sense that AV = VD, i.e. A.Multiply(V) equals V.Multiply(D). The matrix V may be badly conditioned, or even singular, so the validity of the equation A = VD*Inverse(V) depends upon V.cond().
EigenvalueDecomposition
01 Syntax
02 Methods
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| RealEigenvalues | 1 | Return the real parts of the eigenvalues |
| ImagEigenvalues | 1 | Return the imaginary parts of the eigenvalues |
| D | 1 | Return the block diagonal eigenvalue matrix |
| V | 1 | Return the eigenvector matrix |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| n | 1 | Row and column dimension (square matrix). |
| issymmetric | 1 | Symmetry flag. @serial internal symmetry flag. |
| m_d | 1 | Arrays for internal storage of eigenvalues. |
| m_e | 1 | Arrays for internal storage of eigenvalues. |
| _V | 1 | Array for internal storage of eigenvectors. |
| H | 1 | Array for internal storage of nonsymmetric Hessenberg form. |
| ort | 1 | Working storage for nonsymmetric algorithm. |
| cdivr | 1 | Complex scalar division. |
| cdivi | 1 | Complex scalar division. |
05 Members
Symmetric Householder reduction to tridiagonal form.
Nonsymmetric reduction from Hessenberg to real Schur form.
Check for symmetry, then construct the eigenvalue decomposition, returns Structure to access D and V.
| Name | Type | Description |
|---|---|---|
Arg | GeneralMatrix | Square matrix |
Return the real parts of the eigenvalues
real(diag(D))
Return the imaginary parts of the eigenvalues
imag(diag(D))
Return the block diagonal eigenvalue matrix
D
Return the eigenvector matrix
V
Row and column dimension (square matrix). @serial matrix dimension.
Symmetry flag. @serial internal symmetry flag.
Arrays for internal storage of eigenvalues. @serial internal storage of eigenvalues.
Arrays for internal storage of eigenvalues. @serial internal storage of eigenvalues.
Array for internal storage of eigenvectors. @serial internal storage of eigenvectors.
Array for internal storage of nonsymmetric Hessenberg form. @serial internal storage of nonsymmetric Hessenberg form.
Working storage for nonsymmetric algorithm. @serial working storage for nonsymmetric algorithm.
Complex scalar division.
Complex scalar division.