public class SymmetricSuccessiveOverrelaxationSolver extends Object implements IterativeLinearSystemSolver
IterativeLinearSystemSolver.Solution| Constructor and Description |
|---|
SymmetricSuccessiveOverrelaxationSolver(double omega,
int maxIteration,
Tolerance tolerance)
Construct a SSOR solver with the extrapolation factor ω.
|
| Modifier and Type | Method and Description |
|---|---|
IterativeLinearSystemSolver.Solution |
solve(LSProblem problem) |
IterativeLinearSystemSolver.Solution |
solve(LSProblem problem,
IterationMonitor<Vector> monitor)
Solves iteratively
Ax = b
until the solution converges, i.e., the norm of residual
(b - Ax) is less than or equal to the threshold.
|
public SymmetricSuccessiveOverrelaxationSolver(double omega,
int maxIteration,
Tolerance tolerance)
omega - the extrapolation factormaxIteration - the maximum number of iterationstolerance - the convergence thresholdSuccessiveOverrelaxationSolver.SuccessiveOverrelaxationSolver(double, int,
dev.nm.misc.algorithm.iterative.tolerance.Tolerance)public IterativeLinearSystemSolver.Solution solve(LSProblem problem) throws ConvergenceFailure
ConvergenceFailurepublic IterativeLinearSystemSolver.Solution solve(LSProblem problem, IterationMonitor<Vector> monitor) throws ConvergenceFailure
IterativeLinearSystemSolverAx = buntil the solution converges, i.e., the norm of residual (b - Ax) is less than or equal to the threshold.
solve in interface IterativeLinearSystemSolverproblem - a system of linear equationsmonitor - an iteration monitorConvergenceFailure - if the algorithm fails to convergeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.