LinearSolverStoppingCriterion¶
- class probnum.linalg.solvers.stopping_criteria.LinearSolverStoppingCriterion¶
Bases:
StoppingCriterion
Stopping criterion of a probabilistic linear solver.
Checks whether quantities tracked by the
LinearSolverState
meet a desired terminal condition.See also
ResidualNormStoppingCriterion
Stop based on the norm of the residual.
PosteriorContractionStoppingCriterion
Stop based on the uncertainty about the quantity of interest.
MaxIterationsStoppingCriterion
Stop after a maximum number of iterations.
Methods Summary
__call__
(solver_state)Check whether tracked quantities meet a desired terminal condition.
Methods Documentation
- __call__(solver_state)[source]¶
Check whether tracked quantities meet a desired terminal condition.
- Parameters
solver_state (LinearSolverState) – Current state of the linear solver.
- Return type