public class BackwardSubstitution extends Object
Constructor and Description |
---|
BackwardSubstitution() |
Modifier and Type | Method and Description |
---|---|
Matrix |
solve(UpperTriangularMatrix U,
Matrix B) |
Matrix |
solve(UpperTriangularMatrix U,
Matrix B,
double epsilon) |
Vector |
solve(UpperTriangularMatrix U,
Vector b)
Solve Ux = b.
|
Vector |
solve(UpperTriangularMatrix U,
Vector b,
double epsilon) |
public Vector solve(UpperTriangularMatrix U, Vector b)
U
- an upper triangular matrix, representing the system of linear equations (the
homogeneous part)b
- a vectorLinearSystemSolver.NoSolution
- if there is no solution to the systempublic Vector solve(UpperTriangularMatrix U, Vector b, double epsilon)
public Matrix solve(UpperTriangularMatrix U, Matrix B)
public Matrix solve(UpperTriangularMatrix U, Matrix B, double epsilon)
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.