|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.decomposition.EigenvalueDecomposition<N>
public abstract class EigenvalueDecomposition<N extends Number>
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
| Method Summary | |
|---|---|
boolean |
compute(MatrixStore<N> aStore)
Will check for symmetry and then call either computeSymmetric(MatrixStore)
or
computeNonsymmetric(MatrixStore). |
boolean |
computeNonsymmetric(MatrixStore<N> aSymmetric)
|
boolean |
computeSymmetric(MatrixStore<N> aSymmetric)
|
boolean |
equals(MatrixDecomposition<N> aDecomp,
NumberContext aCntxt)
|
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
boolean |
equals(Object someObj)
|
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. |
Array1D<ComplexNumber> |
getEigenvalues()
Even for real matrices the eigenvalues are potentially complex numbers. |
MatrixStore<N> |
getInverse()
The output must be a "right inverse" and a "generalised inverse". |
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]. |
MatrixStore<N> |
invert(MatrixStore<N> aStore)
A convenience method that produces exactly the same result as if you first call MatrixDecomposition.compute(MatrixStore) and then MatrixDecomposition.getInverse(). |
boolean |
isAspectRatioNormal()
|
boolean |
isComputed()
|
boolean |
isFullSize()
|
boolean |
isOrdered()
|
boolean |
isSolvable()
|
boolean |
isSymmetric()
|
static Eigenvalue<BigDecimal> |
makeBig()
|
static Eigenvalue<Double> |
makeJama()
|
static Eigenvalue<Double> |
makePrimitive()
|
MatrixStore<N> |
reconstruct()
|
void |
reset()
Delete computed results, and resets attributes to default values |
MatrixStore<N> |
solve(MatrixStore<N> aRHS)
|
Future<DecomposeAndSolve<N>> |
solve(MatrixStore<N> aBody,
MatrixStore<N> aRHS)
Will solve [aBody][X]=[aRHS] concurrently by first calling MatrixDecomposition.compute(MatrixStore) using [aBody], and then MatrixDecomposition.solve(MatrixStore) using [aRHS]. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition |
|---|
equals, invert, isComputed, solve |
| Field Detail |
|---|
public static boolean DEBUG
| Method Detail |
|---|
public static final Eigenvalue<BigDecimal> makeBig()
public static final Eigenvalue<Double> makeJama()
public static final Eigenvalue<Double> makePrimitive()
public final boolean compute(MatrixStore<N> aStore)
computeSymmetric(MatrixStore)
or
computeNonsymmetric(MatrixStore).
compute in interface MatrixDecomposition<N extends Number>aStore - A matrix to decompose
MatrixDecomposition.compute(org.ojalgo.matrix.store.MatrixStore)public boolean computeNonsymmetric(MatrixStore<N> aSymmetric)
computeNonsymmetric in interface Eigenvalue<N extends Number>aSymmetric - A nonsymmetric (assumed to be) matrix to decompose
public boolean computeSymmetric(MatrixStore<N> aSymmetric)
computeSymmetric in interface Eigenvalue<N extends Number>aSymmetric - A symmetric (assumed to be) matrix to decompose
public final boolean equals(MatrixStore<N> aStore,
NumberContext aCntxt)
equals in interface MatrixDecomposition<N extends Number>public final MatrixStore<N> getD()
Eigenvalue
getD in interface Eigenvalue<N extends Number>public final ComplexNumber getDeterminant()
EigenvalueA matrix' determinant is the product of its eigenvalues.
getDeterminant in interface Eigenvalue<N extends Number>public final Array1D<ComplexNumber> getEigenvalues()
EigenvalueEven 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.
getEigenvalues in interface Eigenvalue<N extends Number>public final MatrixStore<N> getInverse()
MatrixDecomposition
getInverse in interface MatrixDecomposition<N extends Number>BasicMatrix.invert()public final ComplexNumber getTrace()
Eigenvalue
getTrace in interface Eigenvalue<N extends Number>public final MatrixStore<N> getV()
Eigenvalue
getV in interface Eigenvalue<N extends Number>public final boolean isFullSize()
isFullSize in interface MatrixDecomposition<N extends Number>public final boolean isOrdered()
isOrdered in interface Eigenvalue<N extends Number>public final boolean isSolvable()
isSolvable in interface MatrixDecomposition<N extends Number>MatrixDecomposition.solve(MatrixStore),
MatrixDecomposition.isComputed()public final boolean isSymmetric()
isSymmetric in interface Eigenvalue<N extends Number>public MatrixStore<N> reconstruct()
reconstruct in interface MatrixDecomposition<N extends Number>public void reset()
MatrixDecomposition
reset in interface MatrixDecomposition<N extends Number>public final MatrixStore<N> solve(MatrixStore<N> aRHS)
solve in interface MatrixDecomposition<N extends Number>
public final boolean equals(MatrixDecomposition<N> aDecomp,
NumberContext aCntxt)
equals in interface MatrixDecomposition<N extends Number>public boolean equals(Object someObj)
equals in class Objectpublic final MatrixStore<N> invert(MatrixStore<N> aStore)
MatrixDecomposition
invert in interface MatrixDecomposition<N extends Number>public final boolean isAspectRatioNormal()
public final boolean isComputed()
isComputed in interface MatrixDecomposition<N extends Number>MatrixDecomposition.compute(MatrixStore),
MatrixDecomposition.isSolvable()
public Future<DecomposeAndSolve<N>> solve(MatrixStore<N> aBody,
MatrixStore<N> aRHS)
MatrixDecomposition
solve in interface MatrixDecomposition<N extends Number>aBody - The equation system bodyaRHS - The equation system right hand side
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||