public class LUSolver extends Object
We first solve Ly = b by forward substitution and then Ux = y by backward substitution.Ax = b; LUx = PAx = Pb
Constructor and Description |
---|
LUSolver() |
Modifier and Type | Method and Description |
---|---|
Vector |
solve(LSProblem problem)
Solve Ax = b.
|
Matrix |
solve(Matrix A,
Matrix B)
Solves AX = B.
|
public Vector solve(LSProblem problem)
problem
- a system of linear equationsLinearSystemSolver.NoSolution
- if there is no solution to the systemCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.