|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.matrix.decomposition.EigenvalueDecomposition<N> org.ojalgo.matrix.decomposition.SymmetricEvD1<N>
public abstract class SymmetricEvD1<N extends Number>
Method Summary | |
---|---|
boolean |
compute(Access2D<N> aMtrx)
Will check for symmetry and then call either computeSymmetric(Access2D)
or
computeNonsymmetric(Access2D) . |
boolean |
computeNonsymmetric(Access2D<N> aNonsymmetric)
|
boolean |
computeSymmetric(Access2D<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(Access2D) and then MatrixDecomposition.getInverse(). |
boolean |
isAspectRatioNormal()
|
boolean |
isComputed()
|
boolean |
isFullSize()
|
boolean |
isOrdered()
|
boolean |
isSolvable()
|
boolean |
isSymmetric()
|
void |
reset()
Delete computed results, and resets attributes to default values |
MatrixStore<N> |
solve(MatrixStore<N> aRHS)
|
Methods inherited from class org.ojalgo.matrix.decomposition.EigenvalueDecomposition |
---|
getAllPrimitiveGeneral, getAllPrimitiveNonsymmetric, getAllPrimitiveSymmetric, makeBig, makeJama, makePrimitive, reconstruct |
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, getInverse, invert, isComputed |
Method Detail |
---|
public final boolean compute(Access2D<N> aMtrx)
computeSymmetric(Access2D)
or
computeNonsymmetric(Access2D)
.
aMtrx
- A matrix to decompose
MatrixDecomposition.compute(Access2D)
public boolean computeNonsymmetric(Access2D<N> aNonsymmetric)
aNonsymmetric
- A nonsymmetric (assumed to be) matrix to decompose
public boolean computeSymmetric(Access2D<N> aSymmetric)
aSymmetric
- A symmetric (assumed to be) matrix to decompose
public final boolean equals(MatrixStore<N> aStore, NumberContext aCntxt)
public final MatrixStore<N> getD()
Eigenvalue
public final ComplexNumber getDeterminant()
Eigenvalue
A matrix' determinant is the product of its eigenvalues.
public final Array1D<ComplexNumber> getEigenvalues()
Eigenvalue
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.
public final ComplexNumber getTrace()
Eigenvalue
public final MatrixStore<N> getV()
Eigenvalue
public final boolean isFullSize()
public final boolean isOrdered()
public final boolean isSolvable()
MatrixDecomposition.solve(MatrixStore)
,
MatrixDecomposition.isComputed()
public final boolean isSymmetric()
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 Object
public final MatrixStore<N> getInverse()
MatrixDecomposition
getInverse
in interface MatrixDecomposition<N extends Number>
BasicMatrix.invert()
public final MatrixStore<N> invert(MatrixStore<N> aStore)
MatrixDecomposition
invert
in interface MatrixDecomposition<N extends Number>
public boolean isAspectRatioNormal()
public final boolean isComputed()
isComputed
in interface MatrixDecomposition<N extends Number>
MatrixDecomposition.compute(Access2D)
,
MatrixDecomposition.isSolvable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |