|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MatrixDecomposition<N extends Number>
Some standard matrix names:
| Method Summary | |
|---|---|
boolean |
compute(MatrixStore<N> aStore)
|
boolean |
equals(BasicMatrix aMtrx,
NumberContext aCntxt)
|
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
MatrixStore<N> |
getInverse()
The output must be a "right inverse" and a "generalised inverse". |
MatrixStore<N> |
invert(MatrixStore<N> aStore)
A convenience method that produces exactly the same result as if you first call compute(MatrixStore) and then getInverse(). |
boolean |
isComputed()
|
boolean |
isFullSize()
|
boolean |
isSolvable()
|
void |
reset()
|
MatrixStore<N> |
solve(MatrixStore<N> aRHS)
|
Future<DecomposeAndSolve<N>> |
solve(MatrixStore<N> aBody,
MatrixStore<N> aRHS)
Will solve [aBody][X]=[aRHS] concurrently by first calling compute(MatrixStore) using [aBody], and then
solve(MatrixStore) using [aRHS]. |
| Method Detail |
|---|
boolean compute(MatrixStore<N> aStore)
aStore - A matrix to decompose
boolean equals(BasicMatrix aMtrx,
NumberContext aCntxt)
boolean equals(MatrixStore<N> aStore,
NumberContext aCntxt)
MatrixStore<N> getInverse()
BasicMatrix.invert()MatrixStore<N> invert(MatrixStore<N> aStore)
compute(MatrixStore) and then getInverse().
boolean isComputed()
compute(MatrixStore),
isSolvable()boolean isFullSize()
boolean isSolvable()
solve(MatrixStore)
(computation was successful); false if notsolve(MatrixStore),
isComputed()void reset()
MatrixStore<N> solve(MatrixStore<N> aRHS)
Future<DecomposeAndSolve<N>> solve(MatrixStore<N> aBody,
MatrixStore<N> aRHS)
compute(MatrixStore) using [aBody], and then
solve(MatrixStore) using [aRHS]. If either of the input [aBody]
or [aRHS] is set to null the corresponing calculation is skipped.
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 | ||||||||