kao.math.matvec.solver.GS Class Reference
Gauss-Siedel Iterative method.
More...
List of all members.
Detailed Description
Gauss-Siedel Iterative method.
The Gauss-Siedel Iterative method for solving systems of the form:
The default convergence tolerance is 1.0E-6.
- Author:
- David Kao
Constructor & Destructor Documentation
Create a new instance of the Gauss-Siedel solver using the default convergence tolerance.
- Parameters:
-
kao.math.matvec.solver.GS.GS |
( |
Matrix |
A, |
|
|
Vector |
b, |
|
|
double |
tol | |
|
) |
| | |
Create a new instance of the Gauss-Siedel solver using a supplied convergence tolerance.
- Parameters:
-
Create a new instance of the Gauss-Siedel solver with an initial guess xi, using the default convergence tolerance.
- Parameters:
-
Create a new instance of the Gauss-Siedel solver with an initial guess xi, using a supplied convergence tolerance.
- Parameters:
-
| A | Matrix A |
| b | Source Vector |
| xi | Initial guess for x |
| tol | Convergence tolerance |
Member Function Documentation
Vector kao.math.matvec.solver.GS.solve |
( |
|
) |
|
Solve the system of linear equations.
- Returns:
- Solution Vector x