Class SimultaneousTridiagonal
java.lang.Object
org.ojalgo.matrix.decomposition.AbstractDecomposition<Double, DecompositionStore<Double>>
org.ojalgo.matrix.decomposition.InPlaceDecomposition<Double>
org.ojalgo.matrix.decomposition.DenseTridiagonal<Double>
org.ojalgo.matrix.decomposition.SimultaneousTridiagonal
- All Implemented Interfaces:
MatrixDecomposition<Double>, Tridiagonal<Double>, Structure1D, Structure2D
Computes Q while decomposing.
-
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> Nested classes/interfaces inherited from interface Tridiagonal
Tridiagonal.Factory<N> -
Field Summary
FieldsFields inherited from interface MatrixDecomposition
TYPICAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandecompose(Access2D.Collectable<Double, ? super TransformableRegion<Double>> matrix) (package private) MatrixStore<Double> makeD()(package private) DecompositionStore<Double> makeQ()protected voidsupplyDiagonalTo(double[] d, double[] e) Methods inherited from class DenseTridiagonal
getD, getDecompositionQ, getQ, resetMethods inherited from class InPlaceDecomposition
getColDim, getInPlace, getInverse, getInverse, getRowDim, setInPlaceMethods inherited from class AbstractDecomposition
aggregator, applyPivotOrder, applyReverseOrder, checkSolvability, collect, computed, copyColumn, copyRow, function, getDimensionalEpsilon, isAspectRatioNormal, isComputed, isSolvable, makeArray, makeDiagonal, makeEye, makeHouseholder, makeIdentity, makeRotation, makeRotation, makeZero, makeZero, scalar, wrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MatrixDecomposition
isComputedMethods inherited from interface Structure2D
count, countColumns, countRows, firstInColumn, firstInRow, getColDim, getMaxDim, getMinDim, getRowDim, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, sizeMethods inherited from interface Tridiagonal
reconstruct
-
Field Details
-
myDiagD
-
myDiagE
-
-
Constructor Details
-
SimultaneousTridiagonal
SimultaneousTridiagonal()
-
-
Method Details
-
decompose
- Parameters:
matrix- A matrix to decompose- Returns:
- true if decomposition suceeded; false if not
-
supplyDiagonalTo
protected void supplyDiagonalTo(double[] d, double[] e) - Specified by:
supplyDiagonalToin classDenseTridiagonal<Double>
-
makeD
MatrixStore<Double> makeD()- Specified by:
makeDin classDenseTridiagonal<Double>
-
makeQ
DecompositionStore<Double> makeQ()- Specified by:
makeQin classDenseTridiagonal<Double>
-