|
||||||||
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.GeneralEvD1<N>
public abstract class GeneralEvD1<N extends Number>
Method Summary | |
---|---|
boolean |
compute(Access2D<N> aMtrx)
|
boolean |
computeNonsymmetric(Access2D<N> aNonsymmetric)
|
boolean |
computeSymmetric(Access2D<N> aSymmetric)
|
boolean |
equals(MatrixDecomposition<N> aDecomp,
NumberContext aCntxt)
|
boolean |
equals(MatrixStore<N> aMtrx,
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 boolean compute(Access2D<N> aMtrx)
aMtrx
- A matrix to decompose
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 boolean equals(MatrixStore<N> aMtrx, NumberContext aCntxt)
public MatrixStore<N> getD()
Eigenvalue
public ComplexNumber getDeterminant()
Eigenvalue
A matrix' determinant is the product of its eigenvalues.
public 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 ComplexNumber getTrace()
Eigenvalue
public MatrixStore<N> getV()
Eigenvalue
public boolean isFullSize()
public boolean isOrdered()
public boolean isSolvable()
MatrixDecomposition.solve(MatrixStore)
,
MatrixDecomposition.isComputed()
public boolean isSymmetric()
public void reset()
MatrixDecomposition
reset
in interface MatrixDecomposition<N extends Number>
public 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 |