|
||||||||
| 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>
You create instances of (some subclass of) this class by calling one of the static factory methods: makeBig(), makePrimitive() or makeJama().
| Method Summary | ||
|---|---|---|
boolean |
compute(Access2D<?> aMtrx)
|
|
boolean |
equals(MatrixDecomposition<N> aDecomp,
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]. |
|
Array1D<ComplexNumber> |
getEigenvalues()
Even for real matrices the eigenvalues are potentially complex numbers. |
|
MatrixStore<N> |
getV()
The columns of [V] represent the eigenvectors of [A] in the sense that [A][V] = [V][D]. |
|
boolean |
isAspectRatioNormal()
|
|
boolean |
isComputed()
|
|
static
|
make(Access2D<N> aTypical)
|
|
static Eigenvalue<BigDecimal> |
makeBig()
Deprecated. v30 |
|
static Eigenvalue<Double> |
makeJama()
|
|
static Eigenvalue<Double> |
makeJama(boolean symmetric)
|
|
static Eigenvalue<Double> |
makePrimitive()
|
|
static Eigenvalue<Double> |
makePrimitive(boolean symmetric)
|
|
MatrixStore<N> |
reconstruct()
|
|
void |
reset()
Delete computed results, and resets attributes to default values |
|
MatrixStore<N> |
solve(MatrixStore<N> aRHS)
[A][X]=[B] or [this][return]=[aRHS] |
|
MatrixStore<N> |
solve(MatrixStore<N> aRHS,
DecompositionStore<N> preallocated)
Implementiong this method is optional. |
|
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ojalgo.matrix.decomposition.Eigenvalue |
|---|
compute, getDeterminant, getTrace, isOrdered, isSymmetric |
| Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition |
|---|
equals, equals, getInverse, getInverse, isComputed, isFullSize, isSolvable |
| Method Detail |
|---|
public static final <N extends Number> Eigenvalue<N> make(Access2D<N> aTypical)
@Deprecated public static final Eigenvalue<BigDecimal> makeBig()
public static final Eigenvalue<Double> makeJama()
public static final Eigenvalue<Double> makeJama(boolean symmetric)
public static final Eigenvalue<Double> makePrimitive()
public static final Eigenvalue<Double> makePrimitive(boolean symmetric)
public final boolean compute(Access2D<?> aMtrx)
compute in interface MatrixDecomposition<N extends Number>aMtrx - A matrix to decompose
public final MatrixStore<N> getD()
Eigenvalue
getD 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> getV()
Eigenvalue
getV in interface Eigenvalue<N extends Number>public final 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)
MatrixDecomposition
solve in interface MatrixDecomposition<N extends Number>
public final MatrixStore<N> solve(MatrixStore<N> aRHS,
DecompositionStore<N> preallocated)
MatrixDecompositionImplementiong this method is optional.
Exactly how a specific implementation makes use of preallocated
is not specified by this interface. It must be documented for each
implementation.
Should produce the same results as calling MatrixDecomposition.solve(MatrixStore).
solve in interface MatrixDecomposition<N extends Number>aRHS - The Right Hand Side, wont be modfiedpreallocated - Preallocated memory for the results, possibly some
intermediate results. You must assume this is modified, but you
cannot assume it will contain the full/final/correct solution.
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 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 | |||||||