public abstract class Solvers
extends java.lang.Object
Constructor and Description |
---|
Solvers() |
Modifier and Type | Method and Description |
---|---|
static SimpleVector |
solveLinearLeastSquares(SimpleMatrix A,
SimpleVector b)
Solves the linear least squares problem
![]() |
static SimpleVector |
solveLinearSysytemOfEquations(SimpleMatrix A,
SimpleVector b)
Solves the linear system of equations
![]() |
static SimpleVector |
solveLowerTriangular(SimpleMatrix L,
SimpleVector b)
Solves the linear system of equations L*x = b with a square,
lower-triangular matrix L using forward substitution.
|
static SimpleVector |
solveUpperTriangular(SimpleMatrix U,
SimpleVector b)
Solves the linear system of equations U*x = b with a square,
upper-triangular matrix U using backward substitution.
|
public static SimpleVector solveUpperTriangular(SimpleMatrix U, SimpleVector b)
U
- Square, upper-triangular, non-singular matrix.b
- Right-hand side of the equation.public static SimpleVector solveLowerTriangular(SimpleMatrix L, SimpleVector b)
L
- Square, lower-triangular, non-singular matrix.b
- Right-hand side of the equation.public static SimpleVector solveLinearSysytemOfEquations(SimpleMatrix A, SimpleVector b)
A
- Square, non-singular matrix.b
- Vector of matching dimension.public static SimpleVector solveLinearLeastSquares(SimpleMatrix A, SimpleVector b)
A
- Square, "standing" matrix.b
- Vector of matching dimension.