public interface LUDecomposition
extends java.lang.AutoCloseable
try (LUDecomposition decomposition = m.decomposeLU()) { decomposition.solve(...) }
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
solve(DenseMatrix b)
Solve A * x = b where b is a dense matrix.
|
void |
solve(double[] b)
Solve A * x = b where b is a column vector.
|
void solve(double[] b)
b
- a column vectorvoid solve(DenseMatrix b)
b
- a matrixvoid close()
close
in interface java.lang.AutoCloseable