num::corrected_factor¶
Defined in header <linear/factorization/reuse.hpp>
template <factorization Base>
class corrected_factor;
Factor kept as the last full factorization plus a low-rank correction (Woodbury).
Members¶
| member | description |
|---|---|
static constexpr idx max_changed = 64 |
|
static constexpr real tolerance = 1e-8 |
|
bool reused() const |
Test whether the factor was reused rather than computed again. |
idx size() const |
|
template <class Fresh> static corrected_factor update(const spmat &R, const corrected_factor *previous, view<const idx> changed, Fresh &&fresh) |