|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Controls for iterative_refine. More...
#include <iterative_refine.hpp>
Public Attributes | |
| int | max_iter = 20 |
| maximum correction steps | |
| double | rel_tol = 0.0 |
| stop when ||r||inf/||b||inf <= rel_tol (0 = disabled) | |
| bool | scaled = false |
| normalize the residual before each correction solve | |
| int | patience = 3 |
| stop after this many consecutive non-improving steps (>=1; tolerates a noisy low-precision residual so IR reaches its floor instead of quitting on one bad step) | |
Controls for iterative_refine.
| int mtl::sparse::refine_options::max_iter = 20 |
maximum correction steps
| int mtl::sparse::refine_options::patience = 3 |
stop after this many consecutive non-improving steps (>=1; tolerates a noisy low-precision residual so IR reaches its floor instead of quitting on one bad step)
| double mtl::sparse::refine_options::rel_tol = 0.0 |
stop when ||r||inf/||b||inf <= rel_tol (0 = disabled)
| bool mtl::sparse::refine_options::scaled = false |
normalize the residual before each correction solve