|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LU<N extends Number>
Decomposes [this] into [L] and [U] (with pivot order information in an int[]) where:
Note: The number of columns in [L] and the number of rows in [U] is not specified by this interface.
The LU decomposition always exists - the compute method should always succeed - even for non-square and/or singular matrices. The primary use of the LU decomposition is in the solution of systems of simultaneous linear equations. That will, however, only work for square non-singular matrices.
| Method Summary | |
|---|---|
boolean |
computeWithoutPivoting(MatrixStore<N> aStore)
The normal MatrixDecomposition.compute(MatrixStore) method must handle cases
where pivoting is required. |
N |
getDeterminant()
|
MatrixStore<N> |
getL()
|
int[] |
getPivotOrder()
|
int |
getRank()
|
MatrixStore<N> |
getU()
http://en.wikipedia.org/wiki/Row_echelon_form This is the same as [D][U]. |
boolean |
isSquareAndNotSingular()
|
| Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition |
|---|
compute, equals, equals, getInverse, invert, isComputed, isFullSize, isSolvable, reset, solve, solve |
| Method Detail |
|---|
boolean computeWithoutPivoting(MatrixStore<N> aStore)
MatrixDecomposition.compute(MatrixStore) method must handle cases
where pivoting is required. If you know that pivoting is not needed
you may call this method instead - it's faster.
N getDeterminant()
MatrixStore<N> getL()
int[] getPivotOrder()
int getRank()
MatrixStore<N> getU()
getPivotOrder(),
getL()boolean isSquareAndNotSingular()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||