public abstract class AbstractInverter extends Object implements InverterTask<Double>
InverterTask.Factory<N extends Number>BIG, COMPLEX, PRIMITIVE| Modifier and Type | Method and Description |
|---|---|
MatrixStore<Double> |
invert(MatrixStore<Double> original)
The output must be a "right inverse" and a "generalised inverse".
|
DecompositionStore<Double> |
preallocate(Access2D<Double> template)
Implementiong this method is optional.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvertpublic final MatrixStore<Double> invert(MatrixStore<Double> original) throws TaskException
InverterTaskinvert in interface InverterTask<Double>TaskExceptionBasicMatrix.invert()public final DecompositionStore<Double> preallocate(Access2D<Double> template)
InverterTaskImplementiong this method is optional.
Will create a DecompositionStore instance suitable for use with#solve(Access2D, DecompositionStore). When solving an equation system [A][X]=[B] ([mxn][nxb]=[mxb]) the
preallocated memory/matrix will typically be either mxb or nxb (if A is square then there is no doubt).preallocate in interface InverterTask<Double>