|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.jama.JamaSingularValue
public final class JamaSingularValue
JamaSingularValue
| Constructor Summary | |
|---|---|
JamaSingularValue()
|
|
| Method Summary | |
|---|---|
boolean |
compute(MatrixStore<Double> aStore)
|
boolean |
equals(BasicMatrix aMtrx,
NumberContext aCntxt)
|
boolean |
equals(MatrixStore<Double> aStore,
NumberContext aCntxt)
|
Double |
getCondition()
The condition number. |
JamaMatrix |
getD()
|
Double |
getFrobeniusNorm()
Sometimes also called the Schatten 2-norm or Hilbert-Schmidt norm. |
JamaMatrix |
getInverse()
The output must be a "right inverse" and a "generalised inverse". |
Double |
getKyFanNorm(int k)
Ky Fan k-norm. |
JamaMatrix |
getQ1()
|
JamaMatrix |
getQ2()
|
int |
getRank()
Effective numerical matrix rank. |
Array1Dim<Double> |
getSingularValues()
|
MatrixStore<Double> |
invert(MatrixStore<Double> aStore)
A convenience method that produces exactly the same result as if you first call MatrixDecomposition.compute(MatrixStore) and then MatrixDecomposition.getInverse(). |
boolean |
isComputed()
|
boolean |
isFullSize()
|
boolean |
isSolvable()
|
void |
reset()
|
JamaMatrix |
solve(MatrixStore<Double> aRHS)
Internally this implementation uses the pseudoinverse that is recreated with every call. |
Future<DecomposeAndSolve<Double>> |
solve(MatrixStore<Double> aBody,
MatrixStore<Double> aRHS)
Will solve [aBody][X]=[aRHS] concurrently by first calling MatrixDecomposition.compute(MatrixStore) using [aBody], and then
MatrixDecomposition.solve(MatrixStore) using [aRHS]. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition |
|---|
compute, equals, invert, solve |
| Constructor Detail |
|---|
public JamaSingularValue()
| Method Detail |
|---|
public boolean equals(MatrixStore<Double> aStore,
NumberContext aCntxt)
equals in interface MatrixDecomposition<Double>public Double getCondition()
SingularValue
getCondition in interface SingularValue<Double>public JamaMatrix getD()
getD in interface SingularValue<Double>public Double getFrobeniusNorm()
SingularValue
getFrobeniusNorm in interface SingularValue<Double>public JamaMatrix getInverse()
MatrixDecomposition
getInverse in interface MatrixDecomposition<Double>BasicMatrix.invert()public Double getKyFanNorm(int k)
SingularValueKy Fan k-norm.
The first Ky Fan k-norm is the operator norm (the largest singular value), and the last is called the trace norm (the sum of all singular values).
getKyFanNorm in interface SingularValue<Double>k - The number of singular values to add up.
public JamaMatrix getQ1()
getQ1 in interface SingularValue<Double>public JamaMatrix getQ2()
getQ2 in interface SingularValue<Double>public int getRank()
SingularValue
getRank in interface SingularValue<Double>public Array1Dim<Double> getSingularValues()
getSingularValues in interface SingularValue<Double>public boolean isComputed()
isComputed in interface MatrixDecomposition<Double>MatrixDecomposition.compute(MatrixStore),
MatrixDecomposition.isSolvable()public boolean isFullSize()
isFullSize in interface MatrixDecomposition<Double>public boolean isSolvable()
isSolvable in interface MatrixDecomposition<Double>MatrixDecomposition.solve(MatrixStore)
(computation was successful); false if notMatrixDecomposition.solve(MatrixStore),
MatrixDecomposition.isComputed()public void reset()
reset in interface MatrixDecomposition<Double>public JamaMatrix solve(MatrixStore<Double> aRHS)
solve in interface MatrixDecomposition<Double>public String toString()
toString in class Objectpublic final boolean compute(MatrixStore<Double> aStore)
compute in interface MatrixDecomposition<Double>aStore - A matrix to decompose
public final boolean equals(BasicMatrix aMtrx,
NumberContext aCntxt)
equals in interface MatrixDecomposition<Double>public final MatrixStore<Double> invert(MatrixStore<Double> aStore)
MatrixDecompositionMatrixDecomposition.compute(MatrixStore) and then MatrixDecomposition.getInverse().
invert in interface MatrixDecomposition<Double>
public final Future<DecomposeAndSolve<Double>> solve(MatrixStore<Double> aBody,
MatrixStore<Double> aRHS)
MatrixDecompositionMatrixDecomposition.compute(MatrixStore) using [aBody], and then
MatrixDecomposition.solve(MatrixStore) using [aRHS]. If either of the input [aBody]
or [aRHS] is set to null the corresponing calculation is skipped.
solve in interface MatrixDecomposition<Double>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 | ||||||||