|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.decomposition.SingularValueDecomposition<N>
public abstract class SingularValueDecomposition<N extends Number & Comparable<N>>
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
| Method Summary | |
|---|---|
boolean |
equals(MatrixDecomposition<N> aDecomp,
NumberContext aCntxt)
|
boolean |
equals(Object someObj)
|
double |
getCondition()
The condition number. |
double |
getFrobeniusNorm()
Sometimes also called the Schatten 2-norm or Hilbert-Schmidt norm. |
MatrixStore<N> |
getInverse()
The output must be a "right inverse" and a "generalised inverse". |
double |
getKyFanNorm(int k)
Ky Fan k-norm. |
double |
getOperatorNorm()
|
int |
getRank()
Effective numerical matrix rank. |
double |
getTraceNorm()
|
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 |
isComputed()
|
static SingularValue<BigDecimal> |
makeAltBig()
|
static SingularValue<ComplexNumber> |
makeAltComplex()
|
static SingularValue<Double> |
makeAltPrimitive()
|
static SingularValue<BigDecimal> |
makeBig()
|
static SingularValue<ComplexNumber> |
makeComplex()
|
static SingularValue<Double> |
makeJama()
|
static SingularValue<Double> |
makePrimitive()
|
void |
reset()
|
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.SingularValue |
|---|
getD, getQ1, getQ2, getSingularValues, isOrdered, isSorted |
| Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition |
|---|
compute, equals, equals, invert, isComputed, isFullSize, isSolvable, solve, solve |
| Field Detail |
|---|
public static boolean DEBUG
| Method Detail |
|---|
public static final SingularValue<BigDecimal> makeAltBig()
public static final SingularValue<ComplexNumber> makeAltComplex()
public static final SingularValue<Double> makeAltPrimitive()
public static final SingularValue<BigDecimal> makeBig()
public static final SingularValue<ComplexNumber> makeComplex()
public static final SingularValue<Double> makeJama()
public static final SingularValue<Double> makePrimitive()
public final double getCondition()
SingularValue
getCondition in interface SingularValue<N extends Number & Comparable<N>>public final double getFrobeniusNorm()
SingularValue
getFrobeniusNorm in interface SingularValue<N extends Number & Comparable<N>>public final MatrixStore<N> getInverse()
MatrixDecomposition
getInverse in interface MatrixDecomposition<N extends Number & Comparable<N>>BasicMatrix.invert()public final 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<N extends Number & Comparable<N>>k - The number of singular values to add up.
public final double getOperatorNorm()
getOperatorNorm in interface SingularValue<N extends Number & Comparable<N>>public final int getRank()
SingularValue
getRank in interface SingularValue<N extends Number & Comparable<N>>public final double getTraceNorm()
getTraceNorm in interface SingularValue<N extends Number & Comparable<N>>public void reset()
reset in interface MatrixDecomposition<N extends Number & Comparable<N>>
public 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 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 | ||||||||