MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::lu_refine_options Struct Reference

Controls for lu_iterative_refine. More...

#include <lu_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)

Detailed Description

Controls for lu_iterative_refine.

Member Data Documentation

◆ max_iter

int mtl::lu_refine_options::max_iter = 20

maximum correction steps

◆ patience

int mtl::lu_refine_options::patience = 3

stop after this many consecutive non-improving steps (>=1)

◆ rel_tol

double mtl::lu_refine_options::rel_tol = 0.0

stop when ||r||inf/||b||inf <= rel_tol (0 = disabled)

◆ scaled

bool mtl::lu_refine_options::scaled = false

normalize the residual before each correction solve


The documentation for this struct was generated from the following file: