public interface SparseDoubleLUDecomposition
The LU decomposition with pivoting always exists, even if the matrix is singular. The primary use of the LU decomposition is in the solution of square systems of simultaneous linear equations. This will fail if isNonsingular() returns false.
Modifier and Type | Method and Description |
---|---|
double |
det()
Returns the determinant, det(A).
|
DoubleMatrix2D |
getL()
Returns the lower triangular factor, L.
|
int[] |
getPivot()
Returns a copy of the pivot permutation vector.
|
Object |
getSymbolicAnalysis()
Returns a copy of the symbolic LU analysis object
|
DoubleMatrix2D |
getU()
Returns the upper triangular factor, U.
|
boolean |
isNonsingular()
Returns whether the matrix is nonsingular (has an inverse).
|
void |
solve(DoubleMatrix1D b)
Solves A*x = b(in-place).
|
double det()
DoubleMatrix2D getL()
int[] getPivot()
DoubleMatrix2D getU()
Object getSymbolicAnalysis()
boolean isNonsingular()
void solve(DoubleMatrix1D b)
b
- A vector with of size A.rows();IllegalArgumentException
- if b.size() != A.rows() or if A is singular.Jump to the Parallel Colt Homepage