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 *แตฅ bImport NLAlib.Krylov.Functions.LanczosFA.