Package org.ojalgo.matrix.decomposition
Class InPlaceDecomposition<N extends java.lang.Comparable<N>>
- java.lang.Object
-
- org.ojalgo.matrix.decomposition.AbstractDecomposition<N>
-
- org.ojalgo.matrix.decomposition.GenericDecomposition<N>
-
- org.ojalgo.matrix.decomposition.InPlaceDecomposition<N>
-
- All Implemented Interfaces:
MatrixDecomposition<N>
,Structure1D
,Structure2D
- Direct Known Subclasses:
BidiagonalDecomposition
,CholeskyDecomposition
,HessenbergDecomposition
,LDLDecomposition
,LUDecomposition
,QRDecomposition
,TridiagonalDecomposition
abstract class InPlaceDecomposition<N extends java.lang.Comparable<N>> extends GenericDecomposition<N>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
MatrixDecomposition.Determinant<N extends java.lang.Comparable<N>>, MatrixDecomposition.EconomySize<N extends java.lang.Comparable<N>>, MatrixDecomposition.Factory<D extends MatrixDecomposition<?>>, MatrixDecomposition.Hermitian<N extends java.lang.Comparable<N>>, MatrixDecomposition.Ordered<N extends java.lang.Comparable<N>>, MatrixDecomposition.Pivoting<N extends java.lang.Comparable<N>>, MatrixDecomposition.RankRevealing<N extends java.lang.Comparable<N>>, MatrixDecomposition.Solver<N extends java.lang.Comparable<N>>, MatrixDecomposition.Values<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
-
Nested 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
Fields Modifier and Type Field Description private int
myColDim
private DecompositionStore<N>
myInPlace
private int
myRowDim
-
Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InPlaceDecomposition(PhysicalStore.Factory<N,? extends DecompositionStore<N>> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColDim()
protected DecompositionStore<N>
getInPlace()
MatrixStore<N>
getInverse()
MatrixStore<N>
getInverse(PhysicalStore<N> preallocated)
int
getRowDim()
(package private) DecompositionStore<N>
setInPlace(Access2D.Collectable<N,? super DecompositionStore<N>> matrix)
-
Methods inherited from class org.ojalgo.matrix.decomposition.GenericDecomposition
aggregator, allocate, collect, copy, function, makeArray, makeDiagonal, makeEye, makeHouseholder, makeIdentity, makeRotation, makeRotation, makeZero, makeZero, scalar, wrap
-
Methods inherited from class org.ojalgo.matrix.decomposition.AbstractDecomposition
checkSolvability, computed, countColumns, countRows, getDimensionalEpsilon, isAspectRatioNormal, isComputed, isSolvable, reset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
decompose, reconstruct
-
Methods inherited from interface org.ojalgo.structure.Structure2D
count, firstInColumn, firstInRow, getMaxDim, getMinDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, size
-
-
-
-
Field Detail
-
myColDim
private int myColDim
-
myInPlace
private DecompositionStore<N extends java.lang.Comparable<N>> myInPlace
-
myRowDim
private int myRowDim
-
-
Constructor Detail
-
InPlaceDecomposition
protected InPlaceDecomposition(PhysicalStore.Factory<N,? extends DecompositionStore<N>> factory)
-
-
Method Detail
-
getColDim
public int getColDim()
- Returns:
- The number of columns
-
getInverse
public MatrixStore<N> getInverse()
-
getInverse
public MatrixStore<N> getInverse(PhysicalStore<N> preallocated)
-
getRowDim
public int getRowDim()
- Returns:
- The number of rows
-
getInPlace
protected DecompositionStore<N> getInPlace()
-
setInPlace
DecompositionStore<N> setInPlace(Access2D.Collectable<N,? super DecompositionStore<N>> matrix)
-
-