Skip to content

num::make_chebyshev_preconditioner

Defined in header <linear/solvers/chebyshev.hpp>

template <class Op>
requires math::spd_operator<Op>
chebyshev_preconditioner<Op> make_chebyshev_preconditioner(const Op &A, real lo,
                                                           real hi, idx degree = 4);

Build a Chebyshev preconditioner over an explicit spectral interval.

The returned object asserts positive definiteness, which holds only when \([lo, hi]\) encloses the spectrum. See the file comment.