12template <RealOrComplex Factor, RealOrComplex Working = Factor, RealOrComplex Res
idual = Working>
13 requires(Complex<Factor> == Complex<Working> && Complex<Working> == Complex<Residual>)
22 requires(!has_runtime_precision_v<Factor> && !has_runtime_precision_v<Working> &&
23 !has_runtime_precision_v<Residual>)
25 return {native_precision<Factor>(), native_precision<Working>(), native_precision<Residual>()};
Exact arithmetic or an explicit binary working precision.
Definition core/precision.hpp:13
Definition linalg/async.hpp:28
RefinementStatus
Refinement termination, distinct from the outcome of an individual LU solve.
Definition refinement_info.hpp:41
Scalar families and explicit precisions for three-precision LU refinement.
Definition refinement_info.hpp:15
Precision residual
Definition refinement_info.hpp:18
Precision working
Definition refinement_info.hpp:17
Precision factor
Definition refinement_info.hpp:16
static constexpr LuRefinementPrecision native()
Select the native precisions of three fixed scalar families.
Definition refinement_info.hpp:21
Diagnostics of the published iterate for one RHS.
Definition refinement_info.hpp:70
bool converged
Definition refinement_info.hpp:73
std::size_t corrections
Definition refinement_info.hpp:72
bool stagnated
A computed correction could not change any component at working precision.
Definition refinement_info.hpp:75
SolveError< R > error
Definition refinement_info.hpp:71
Outer-loop outcome and, on a factor/solve failure, the provider's numerical diagnostics.
Definition refinement_info.hpp:53
std::optional< SolveInfo > solve_info
Definition refinement_info.hpp:55
RefinementStatus status
Definition refinement_info.hpp:54
bool succeeded() const noexcept
Definition refinement_info.hpp:56
Stopping policy; tolerance is expressed in the residual real scalar.
Definition refinement_info.hpp:61
std::size_t max_iterations
Maximum correction steps per RHS, excluding the initial solve.
Definition refinement_info.hpp:65
std::optional< R > backward_error_tolerance
Componentwise backward-error target; absent means working-precision epsilon.
Definition refinement_info.hpp:63
Residual and backward-error estimates for one RHS, at residual precision.
Definition refinement_info.hpp:33
R residual_infinity_norm
Definition refinement_info.hpp:34
R componentwise_backward_error
Definition refinement_info.hpp:36
R normwise_backward_error
Definition refinement_info.hpp:35