|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Eigenvalue<N extends Number>
Calculates eigenvalues and eigenvectors (for square matrices).
For any square matrix [A] there are matrices [D] and [V] so that [A][V] = [V][D] where [D] contains the eigenvalues on the diagonal (possibly in blocks) and [V] has the eigenvectors as columns.
| Method Summary | |
|---|---|
MatrixStore<N> |
getD()
The only requirements on [D] are that it should contain the eigenvalues and that [A][V] = [V][D]. |
ComplexNumber |
getDeterminant()
A matrix' determinant is the product of its eigenvalues. |
Array1Dim<ComplexNumber> |
getEigenvalues()
Even for real matrices the eigenvalues are potentially complex numbers. |
ComplexNumber |
getTrace()
A matrix' trace is the sum of the diagonal elements. |
MatrixStore<N> |
getV()
The columns of [V] represent the eigenvectors of [A] in the sense that [A][V] = [V][D]. |
| Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition |
|---|
compute, equals, equals, getInverse, invert, isComputed, isFullSize, isSolvable, reset, solve, solve |
| Method Detail |
|---|
MatrixStore<N> getD()
ComplexNumber getDeterminant()
A matrix' determinant is the product of its eigenvalues.
Array1Dim<ComplexNumber> getEigenvalues()
Even for real matrices the eigenvalues are potentially complex numbers. Typically they need to be expressed as complex numbers when [A] is not symmetric.
The eigenvalues in this array should be ordered in descending order - largest (modulus) first.
ComplexNumber getTrace()
MatrixStore<N> getV()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||