|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.ojalgo.matrix.decomposition.HessenbergDecomposition<N>
public abstract class HessenbergDecomposition<N extends Number>
You create instances of (some subclass of) this class by calling one of the static factory methods: makeBig(), makeComplex() or makePrimitive().
| Method Summary | ||
|---|---|---|
boolean |
compute(Access2D<?> aMtrx)
|
|
boolean |
compute(Access2D<?> aMtrx,
boolean upper)
|
|
boolean |
equals(MatrixDecomposition<N> aDecomp,
NumberContext aCntxt)
|
|
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
|
boolean |
equals(Object someObj)
|
|
MatrixStore<N> |
getH()
|
|
MatrixStore<N> |
getInverse()
The output must be a "right inverse" and a "generalised inverse". |
|
MatrixStore<N> |
getInverse(DecompositionStore<N> preallocated)
Implementiong this method is optional. |
|
MatrixStore<N> |
getQ()
|
|
boolean |
isAspectRatioNormal()
|
|
boolean |
isComputed()
|
|
boolean |
isFullSize()
|
|
boolean |
isSolvable()
|
|
boolean |
isUpper()
|
|
static
|
make(Access2D<N> aTypical)
|
|
static Hessenberg<BigDecimal> |
makeBig()
|
|
static Hessenberg<ComplexNumber> |
makeComplex()
|
|
static Hessenberg<Double> |
makePrimitive()
|
|
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.MatrixDecomposition |
|---|
equals, getInverse, getInverse, isComputed, solve |
| Method Detail |
|---|
public static final <N extends Number> Hessenberg<N> make(Access2D<N> aTypical)
public static Hessenberg<BigDecimal> makeBig()
public static Hessenberg<ComplexNumber> makeComplex()
public static Hessenberg<Double> makePrimitive()
public final boolean compute(Access2D<?> aMtrx)
compute in interface MatrixDecomposition<N extends Number>aMtrx - A matrix to decompose
public final boolean compute(Access2D<?> aMtrx,
boolean upper)
compute in interface Hessenberg<N extends Number>
public final boolean equals(MatrixStore<N> aStore,
NumberContext aCntxt)
equals in interface MatrixDecomposition<N extends Number>public final MatrixStore<N> getH()
getH in interface Hessenberg<N extends Number>public final MatrixStore<N> getQ()
getQ in interface Hessenberg<N extends Number>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 boolean isUpper()
isUpper in interface Hessenberg<N extends Number>public 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 MatrixStore<N> getInverse()
MatrixDecomposition
BasicMatrix.invert()public MatrixStore<N> getInverse(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.getInverse().
preallocated - 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 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).
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 | |||||||