NLA-lib Explorer

Matrix.IsHermitian.lanczosFA_eval

Library ยท theorem

Exactness: for Hermitian \mathbf{A} and a real polynomial of degree less than q, \mathsf{lanczosFA}(\mathbf{A}, p, \mathbf{b}, q) = p(\mathbf{A})\mathbf{b}. [Saad1992, Lemma 3.1]. Result: lanczos-fa-exactness

Matrix.IsHermitian.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 < โ†‘q) : lanczosFA A (fun x โ†ฆ Polynomial.eval x p) b q = (Polynomial.aeval A) p *แตฅ b

Full source on GitHub

Import NLAlib.Krylov.Functions.LanczosFA.