|
Class Summary |
| AbsoluteTolerance |
The stopping criteria is that the norm of the residual r is equal to
or smaller than the specified tolerance, that is,
||r||2 ≤ tolerance
|
| CountMonitor |
This simple IterationMonitor monitors the number of iterates
generated, hence iterations. |
| IteratesMonitor |
This IterationMonitor stores all iterates generated during iterations. |
| IterativeSolver.Problem |
This class models the problem of solving a system of linear equations
(Ax = b) using an
iterative method. |
| NullMonitor |
This IterationMonitor does nothing when a new iterate is added via
IterationMonitor.addIterate(com.numericalmethod.suanshu.vector.doubles.Vector). |
| RelativeTolerance |
The stopping criteria is that the norm of the residual r relative to
the input base is equal to or smaller than the specified
tolerance, that is,
||r||2
------ ≤ tolerance
base
For example, a Tolerance instance which compares the residual norm
relative to the right-hand side b of a linear system Ax = b
can be created as follows:
Tolerance tolerance = new RelativeTolerance(b.norm());
Or, one which compares the residual norm relative to the initial residual can
be created as follows:
Tolerance tolerance = new RelativeTolerance(b.minus(A.multiply(x0)).norm());
|