Skip to content

num::randommat::approx_chol_preconditioner

Defined in header <linear/graph/randommat/preconditioner.hpp>

class approx_chol_preconditioner final;

Preconditioner from an approximate Cholesky factor: \(M^{-1} = C^{-T} C^{-1}\).

Members

member description
using domain_type = vec<real>
using codomain_type = vec<real>
using laws = law::list<law::psd>
explicit approx_chol_preconditioner(cholesky_factor<real, idx> factor) Construct the preconditioner from an existing factor.
idx rows() const noexcept Return the number of rows.
idx cols() const noexcept Return the number of columns.
void apply(const vec<real> &r, vec<real> &z) const Apply the preconditioner: \(z \leftarrow C^{-T} C^{-1} r\).
const cholesky_factor<real, idx> &factor() const noexcept Return the factor.