Matrix.IsHermitian.lanczosFA_eq_lanczosMatrix
Library Β· theorem
Headline of lanczos-fa-recurrence (provisional)
The Lanczos recurrence computes Lanczos-FA, for Hermitian \mathbf{A} and every q: \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q + 1) = \|\mathbf{b}\|\,\mathbf{Q}f(\mathbf{T})\mathbf{e}_0 with \mathbf{Q} and \mathbf{T} from q + 1 steps of the recurrence. [Saad1992, Β§2]. Result: lanczos-fa-recurrence
Matrix.IsHermitian.lanczosFA_eq_lanczosMatrix.{u_1, u_2} {π : Type u_1} [RCLike π] {n : Type u_2}
[Fintype n] [DecidableEq n] {A : Matrix n n π} (hA : A.IsHermitian) (f : β β β) (b : n β π)
(q : β) :
lanczosFA A f b (q + 1) =
ββWithLp.toLp 2 bβ β’
lanczosMatrix A b (q + 1) *α΅₯ cfc f (lanczosTridiagonal A b (q + 1)) *α΅₯ Pi.single 0 1Import NLAlib.Krylov.Functions.LanczosFA.