Class AbstractDecomposition<N extends Comparable<N>, M extends PhysicalStore<N>>
java.lang.Object
org.ojalgo.matrix.decomposition.AbstractDecomposition<N,M>
- All Implemented Interfaces:
MatrixDecomposition<N>, Structure1D, Structure2D
- Direct Known Subclasses:
DenseEigenvalue, DenseSingularValue, InPlaceDecomposition, RawDecomposition, SparseLU, SparseQDLDL
abstract class AbstractDecomposition<N extends Comparable<N>, M extends PhysicalStore<N>>
extends Object
implements MatrixDecomposition<N>
-
Nested Class Summary
Nested classes/interfaces inherited from interface MatrixDecomposition
MatrixDecomposition.Determinant<N>, MatrixDecomposition.EconomySize<N>, MatrixDecomposition.Factory<D>, MatrixDecomposition.Hermitian<N>, MatrixDecomposition.Ordered<N>, MatrixDecomposition.Pivoting<N>, MatrixDecomposition.RankRevealing<N>, MatrixDecomposition.Solver<N>, MatrixDecomposition.Updatable<N>, MatrixDecomposition.Values<N>Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallbackNested classes/interfaces inherited from interface Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S,B>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R>, Structure2D.Reshapable, Structure2D.RowColumnKey<R, C>, Structure2D.RowColumnMapper<R, C> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final PhysicalStore.Factory<N, ? extends M> private BooleanFields inherited from interface MatrixDecomposition
TYPICAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final AggregatorSet<N> (package private) final voidapplyPivotOrder(Pivot pivot, PhysicalStore<N> matrix) (package private) final voidapplyReverseOrder(Pivot pivot, PhysicalStore<N> matrix) protected boolean(package private) final MatrixStore<N> collect(Access2D.Collectable<N, ? super M> source) (package private) final booleancomputed(boolean computed) (package private) final McopyColumn(double[] column) (package private) final McopyRow(double[] row) (package private) final FunctionSet<N> function()(package private) final double(package private) final booleanfinal booleanprotected boolean(package private) final BasicArray<N> makeArray(int length) (package private) final <D extends Access1D<?>>
DiagonalStore.Builder<N, D> makeDiagonal(D mainDiag) (package private) final MmakeEye(int numberOfRows, int numberOfColumns) (package private) final Householder<N> makeHouseholder(int dimension) (package private) final MatrixStore<N> makeIdentity(int dimension) makeRotation(int low, int high, double cos, double sin) makeRotation(int low, int high, N cos, N sin) (package private) final MmakeZero(int nbRows, int nbCols) (package private) final MmakeZero(Structure2D shape) voidreset()Delete computed results, and resets attributes to default values(package private) final Scalar.Factory<N> scalar()(package private) final MatrixStore<N> Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MatrixDecomposition
decompose, reconstructMethods inherited from interface Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
Field Details
-
myComputed
private boolean myComputed -
myFactory
private final PhysicalStore.Factory<N extends Comparable<N>, ? extends M extends PhysicalStore<N>> myFactory -
mySolvable
-
-
Constructor Details
-
AbstractDecomposition
AbstractDecomposition(PhysicalStore.Factory<N, ? extends M> factory)
-
-
Method Details
-
isComputed
public final boolean isComputed()- Specified by:
isComputedin interfaceMatrixDecomposition<N extends Comparable<N>>- Returns:
- true if decomposition has been attemped and was successful; false if not.
- See Also:
-
reset
public void reset()Description copied from interface:MatrixDecompositionDelete computed results, and resets attributes to default values- Specified by:
resetin interfaceMatrixDecomposition<N extends Comparable<N>>
-
checkSolvability
protected boolean checkSolvability() -
isSolvable
protected boolean isSolvable() -
aggregator
-
applyPivotOrder
-
applyReverseOrder
-
collect
-
computed
final boolean computed(boolean computed) -
copyColumn
-
copyRow
-
function
-
getDimensionalEpsilon
final double getDimensionalEpsilon() -
isAspectRatioNormal
final boolean isAspectRatioNormal() -
makeArray
-
makeDiagonal
-
makeEye
-
makeHouseholder
-
makeIdentity
-
makeRotation
-
makeRotation
-
makeZero
-
makeZero
-
scalar
-
wrap
-