Module ojalgo
Package org.ojalgo.matrix.decomposition
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
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 org.ojalgo.matrix.decomposition.MatrixDecomposition
MatrixDecomposition.Determinant<N extends Comparable<N>>, MatrixDecomposition.EconomySize<N extends Comparable<N>>, MatrixDecomposition.Factory<D extends MatrixDecomposition<?>>, MatrixDecomposition.Hermitian<N extends Comparable<N>>, MatrixDecomposition.Ordered<N extends Comparable<N>>, MatrixDecomposition.Pivoting<N extends Comparable<N>>, MatrixDecomposition.RankRevealing<N extends Comparable<N>>, MatrixDecomposition.Solver<N extends Comparable<N>>, MatrixDecomposition.Updatable<N extends Comparable<N>>, MatrixDecomposition.Values<N extends Comparable<N>>Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallbackNested classes/interfaces inherited from interface org.ojalgo.structure.Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S, B>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, 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 org.ojalgo.matrix.decomposition.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 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
decompose, reconstructMethods inherited from interface org.ojalgo.structure.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) -
function
-
getDimensionalEpsilon
final double getDimensionalEpsilon() -
isAspectRatioNormal
final boolean isAspectRatioNormal() -
makeArray
-
makeDiagonal
-
makeEye
-
makeHouseholder
-
makeIdentity
-
makeRotation
-
makeRotation
-
makeZero
-
makeZero
-
scalar
-
wrap
-