- class probnum.linalg.solvers.stopping_criteria.MaxIterationsStoppingCriterion(maxiter=None)¶
Stop after a maximum number of iterations.
Stop when the solver has taken a maximum number of steps. If
Noneis specified, defaults to \(10n\), where \(n\) is the dimension of the solution to the linear system.
maxiter (int | None) – Maximum number of steps the solver should take.
Check whether the maximum number of iterations has been reached.