public class LinearSolverLuKJI extends LinearSolverLuBase
LinearSolverLu in this approach
and b and x can't be the same instance, which means it has slightly less functionality.decompA, numCols, numRows| Constructor and Description |
|---|
LinearSolverLuKJI(LUDecompositionBase_D64 decomp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
setA(DenseMatrix64F A)
Specifies the A matrix in the linear equation.
|
void |
solve(DenseMatrix64F b,
DenseMatrix64F x)
An other implementation of solve() that processes the matrices in a different order.
|
getDecomposer, improveSol, invert, modifiesA, modifiesB, quality_setA, getApublic LinearSolverLuKJI(LUDecompositionBase_D64 decomp)
public boolean setA(DenseMatrix64F A)
LinearSolver
Specifies the A matrix in the linear equation. A reference might be saved
and it might also be modified depending on the implementation. If it is modified
then LinearSolver.modifiesA() will return true.
If this value returns true that does not guarantee a valid solution was generated. This is because some decompositions don't detect singular matrices.
setA in interface LinearSolver<DenseMatrix64F>setA in class LinearSolverLuBaseA - The 'A' matrix in the linear equation. Might be modified or save the reference.public void solve(DenseMatrix64F b, DenseMatrix64F x)
solve(org.ejml.data.DenseMatrix64F, org.ejml.data.DenseMatrix64F) and is more complicated.
It is being kept around to avoid future replication of work.b - A matrix that is n by m. Not modified.x - An n by m matrix where the solution is writen to. Modified.