num::mixed_lu¶
Defined in header <linear/factorization/mixed_lu.hpp>
struct mixed_lu;
LU factors in float with the matrix in double, for solving to double accuracy: \(\hat{A} = \hat{L} \hat{U}\). Refinement: \(x_{k+1} = x_k + \hat{A}^{-1} (b - A x_k)\). Falls back to double factors when ill-conditioned.
Members¶
| member | description |
|---|---|
static constexpr real max_contraction = 0.1 |
Largest \(\kappa(A)\, u_{\mathrm{float}}\) at which refinement is trusted. |
static constexpr int max_steps = 30 |
Maximum refinement steps per solve. |
mat<real> A |
|
lu_result<float> low |
|
std::optional<lu_result<real>> fallback |
|
real condition_estimate = 0.0 |
\(\Vert A\Vert _1\) times the estimate of \(\Vert A^{-1}\Vert _1\). |
real norm_1 = 0.0 |
\(\Vert A\Vert _1 = \Vert A^T\Vert _\infty\), for the transposed stopping test. |
real norm_inf = 0.0 |
\(\Vert A\Vert _\infty\), for the stopping test. |
idx size() const |
|
bool refined() const |
Test whether solves refine the float factors rather than use fallback. |