|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.decomposition.QRDecomposition<N>
public abstract class QRDecomposition<N extends Number>
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
| Method Summary | |
|---|---|
boolean |
compute(MatrixStore<N> aStore)
|
boolean |
equals(MatrixDecomposition<N> aDecomp,
NumberContext aCntxt)
|
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
boolean |
equals(Object someObj)
|
MatrixStore<N> |
getInverse()
The output must be a "right inverse" and a "generalised inverse". |
MatrixStore<N> |
getQ()
|
MatrixStore<N> |
getR()
|
int |
getRank()
|
List<Householder<N>> |
getTransformations()
|
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 |
isAspectRatioNormal()
|
boolean |
isComputed()
|
boolean |
isFullColumnRank()
The QR decompostion always exists, even if the matrix does not have full column rank, so the compute method will never fail. |
boolean |
isFullSize()
|
boolean |
isSolvable()
|
static QR<BigDecimal> |
makeBig()
|
static QR<ComplexNumber> |
makeComplex()
|
static QR<Double> |
makeJama()
|
static QR<Double> |
makePrimitive()
|
MatrixStore<N> |
reconstruct()
|
void |
reset()
Delete computed results, and resets attributes to default values |
MatrixStore<N> |
solve(MatrixStore<N> aRHS)
Solve [A]*[X]=[B] by first solving [Q]*[Y]=[B] and then [R]*[X]=[Y]. |
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.MatrixDecomposition |
|---|
equals, invert, isComputed, reset, solve |
| Field Detail |
|---|
public static boolean DEBUG
| Method Detail |
|---|
public static final QR<BigDecimal> makeBig()
public static final QR<ComplexNumber> makeComplex()
public static final QR<Double> makeJama()
public static final QR<Double> makePrimitive()
public boolean compute(MatrixStore<N> aStore)
compute in interface MatrixDecomposition<N extends Number>aStore - A matrix to decompose
public boolean equals(MatrixStore<N> aStore,
NumberContext aCntxt)
equals in interface MatrixDecomposition<N extends Number>public MatrixStore<N> getInverse()
MatrixDecomposition
getInverse in interface MatrixDecomposition<N extends Number>BasicMatrix.invert()public MatrixStore<N> getQ()
getQ in interface QR<N extends Number>public MatrixStore<N> getR()
getR in interface QR<N extends Number>public int getRank()
getRank in interface QR<N extends Number>public final List<Householder<N>> getTransformations()
public boolean isFullColumnRank()
QR
isFullColumnRank in interface QR<N extends Number>QR.isFullColumnRank()public final boolean isFullSize()
isFullSize in interface MatrixDecomposition<N extends Number>public final boolean isSolvable()
isSolvable in interface MatrixDecomposition<N extends Number>MatrixDecomposition.solve(MatrixStore),
MatrixDecomposition.isComputed()public MatrixStore<N> reconstruct()
reconstruct in interface MatrixDecomposition<N extends Number>public MatrixStore<N> solve(MatrixStore<N> aRHS)
solve in interface MatrixDecomposition<N extends Number>aRHS - The right hand side [B]
public void reset()
MatrixDecomposition
reset 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 Objectpublic final MatrixStore<N> invert(MatrixStore<N> aStore)
MatrixDecomposition
invert in interface MatrixDecomposition<N extends Number>public final boolean isAspectRatioNormal()
public final 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 | ||||||||