Package org.ojalgo.matrix.decomposition
Class DeferredTridiagonal<N extends Comparable<N>>
java.lang.Object
org.ojalgo.matrix.decomposition.AbstractDecomposition<N>
org.ojalgo.matrix.decomposition.GenericDecomposition<N>
org.ojalgo.matrix.decomposition.InPlaceDecomposition<N>
org.ojalgo.matrix.decomposition.TridiagonalDecomposition<N>
org.ojalgo.matrix.decomposition.DeferredTridiagonal<N>
- All Implemented Interfaces:
MatrixDecomposition<N>
,Tridiagonal<N>
,Structure1D
,Structure2D
- Direct Known Subclasses:
DeferredTridiagonal.C128
,DeferredTridiagonal.H256
,DeferredTridiagonal.Q128
,DeferredTridiagonal.R064
,DeferredTridiagonal.R128
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
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.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.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> Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.Tridiagonal
Tridiagonal.Factory<N extends Comparable<N>>
-
Field Summary
FieldsFields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
TYPICAL
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DeferredTridiagonal
(PhysicalStore.Factory<N, ? extends DecompositionStore<N>> factory) -
Method Summary
Modifier and TypeMethodDescriptionboolean
decompose
(Access2D.Collectable<N, ? super PhysicalStore<N>> matrix) (package private) MatrixStore
<N> makeD()
(package private) DecompositionStore
<N> makeQ()
makeReal
(BasicArray<N> offDiagonal) void
reset()
Delete computed results, and resets attributes to default valuesprotected void
supplyDiagonalTo
(double[] d, double[] e) Methods inherited from class org.ojalgo.matrix.decomposition.TridiagonalDecomposition
getD, getDecompositionQ, getQ
Methods inherited from class org.ojalgo.matrix.decomposition.InPlaceDecomposition
getColDim, getInPlace, getInverse, getInverse, getRowDim, setInPlace
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
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
isComputed
Methods 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
Methods inherited from interface org.ojalgo.matrix.decomposition.Tridiagonal
reconstruct
-
Field Details
-
myDiagD
-
myDiagE
-
myInitDiagQ
-
-
Constructor Details
-
DeferredTridiagonal
-
-
Method Details
-
decompose
- Parameters:
matrix
- A matrix to decompose- Returns:
- true if decomposition suceeded; false if not
-
reset
public void reset()Description copied from interface:MatrixDecomposition
Delete computed results, and resets attributes to default values- Specified by:
reset
in interfaceMatrixDecomposition<N extends Comparable<N>>
- Overrides:
reset
in classTridiagonalDecomposition<N extends Comparable<N>>
-
supplyDiagonalTo
protected void supplyDiagonalTo(double[] d, double[] e) - Specified by:
supplyDiagonalTo
in classTridiagonalDecomposition<N extends Comparable<N>>
-
makeD
MatrixStore<N> makeD()- Specified by:
makeD
in classTridiagonalDecomposition<N extends Comparable<N>>
-
makeQ
DecompositionStore<N> makeQ()- Specified by:
makeQ
in classTridiagonalDecomposition<N extends Comparable<N>>
-
makeReal
-