- <init>
Constructs and returns a new LU Decomposition object which uses the given
tolerance for singularity
- decompose
Decomposes the banded and square matrix A into L andU (in-place). Upon return A
is overridden with
- getL
Returns the lower triangular factor, L.
- getPivot
Returns the pivot permutation vector (not a copy of it).
- isNonsingular
Returns whether the matrix is nonsingular.
- det
Returns the determinant, det(A).
- getLU
Returns a copy of the combined lower and upper triangular factor,LU.
- lowerTriangular
Modifies the matrix to be a lower triangular matrix.Examples:3 x 5 matrix:
9, 9, 9, 9, 9
9, 9, 9, 9,
- m
- n
- setLU
Sets the combined lower and upper triangular factor, LU. The parameter is not
checked; make sure it
- solve
Solves the system of equations A*X = B (in-place). Upon returnB is overridden
with the result X, suc