public interface LDU<N extends Number> extends MatrixDecomposition<N>, MatrixDecomposition.Solver<N>, MatrixDecomposition.Determinant<N>, MatrixDecomposition.RankRevealing<N>
LDU: [A] = [L][D][U] ( [PL][L][D][U][PU] )
Row and/or column permutations may not be necessary and are therefore optional. Numerical stability usually does require ordering of either the rows or columns (most algorithms reorder rows).
Solving the equation system [A][X]=[B] turns into this [L][D][U][X] = [B] and is solved in these steps:
[A]H = [U]H[D]H[L]H
ojAlgo does not have a full/general LDU decompositions but contains 3 variations of it:
SolverTask.Factory<N extends Number>InverterTask.Factory<N extends Number>DeterminantTask.Factory<N extends Number>MatrixDecomposition.Determinant<N extends Number>, MatrixDecomposition.EconomySize<N extends Number>, MatrixDecomposition.Hermitian<N extends Number>, MatrixDecomposition.Ordered<N extends Number>, MatrixDecomposition.Pivoting<N extends Number>, MatrixDecomposition.RankRevealing<N extends Number>, MatrixDecomposition.Solver<N extends Number>, MatrixDecomposition.Values<N extends Number>Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,?>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.RowColumnCallback, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallbackCOMPLEX, PRIMITIVE, QUATERNION, RATIONALCOMPLEX, PRIMITIVE, QUATERNION, RATIONALCOMPLEX, PRIMITIVE, QUATERNION, RATIONALTYPICAL| Modifier and Type | Method and Description |
|---|---|
default boolean |
isOrdered()
This is a property of the algorithm/implementation, not the data.
|
compute, getInverse, getInverse, getSolution, getSolution, isSolvablepreallocate, preallocate, solve, solveinvert, invert, preallocate, preallocategetDeterminantcalculateDeterminantcountSignificant, getRank, getRankThreshold, isFullRankdecompose, isComputed, reconstruct, resetcolumn, column, column, column, column, count, count, countColumns, countRows, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, rowindex, loopAll, loopMatching, loopRange, mapper, sizedefault boolean isOrdered()
MatrixDecomposition.OrderedSingularValue, Eigenvalue or any MatrixDecomposition.RankRevealing decomposition.isOrdered in interface MatrixDecomposition.Ordered<N extends Number>Copyright © 2019 Optimatika. All rights reserved.