Matrix.IsHermitian.star_dotProduct_lanczosFA_eval
Library · theorem
Gauss (Lanczos) quadrature is exact through degree 2q - 1: for Hermitian \mathbf{A} and a real polynomial p with \deg p < 2q, \mathbf{b}^{\mathsf{H}}\mathsf{lanczosFA}(\mathbf{A}, p, \mathbf{b}, q) = \mathbf{b}^{\mathsf{H}}p(\mathbf{A})\mathbf{b}; Lanczos-FA itself is exact only through degree q - 1. [GolubMeurant2010, Ch. 6]. Result: lanczos-gauss-quadrature
Matrix.IsHermitian.star_dotProduct_lanczosFA_eval.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (b : n → 𝕜)
{q : ℕ} {p : Polynomial ℝ} (hp : p.degree < 2 * ↑q) :
star b ⬝ᵥ lanczosFA A (fun x ↦ Polynomial.eval x p) b q = quadForm ((Polynomial.aeval A) p) bImport NLAlib.Krylov.Functions.Quadrature.