MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sparse::factorization::klu_refactor_options< Value > Struct Template Reference

Options of native_klu_refactor's checked form (issue 946). More...

#include <native_klu.hpp>

Public Attributes

Value min_rgrowth {}
 The smallest rgrowth() the refactorization may have.

Detailed Description

template<typename Value>
struct mtl::sparse::factorization::klu_refactor_options< Value >

Options of native_klu_refactor's checked form (issue 946).

Member Data Documentation

◆ min_rgrowth

template<typename Value>
Value mtl::sparse::factorization::klu_refactor_options< Value >::min_rgrowth {}

The smallest rgrowth() the refactorization may have.

0, the default, checks nothing. Otherwise a smaller growth (or a NaN) throws klu_growth_error, so that an analyze-once, factor-many loop (a SPICE transient) can catch it and call native_klu_factor afresh. KLU's own guidance is that a growth near 1 is good; a threshold such as 1e-8 rejects only a refactorization whose kept pivots no longer fit.


The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/sparse/factorization/native_klu.hpp