NLA-lib Explorer

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 1

Full source on GitHub

Import NLAlib.Krylov.Functions.LanczosFA.