|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.numerics.Solvers
public abstract class Solvers
Constructor Summary | |
---|---|
Solvers()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Solvers()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |