LinearSolverStoppingCriterion¶
- class probnum.linalg.solvers.stopping_criteria.LinearSolverStoppingCriterion¶
Bases:
StoppingCriterionStopping criterion of a probabilistic linear solver.
Checks whether quantities tracked by the
LinearSolverStatemeet a desired terminal condition.See also
ResidualNormStoppingCriterionStop based on the norm of the residual.
PosteriorContractionStoppingCriterionStop based on the uncertainty about the quantity of interest.
MaxIterationsStoppingCriterionStop 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: