NLA-lib Explorer

Matrix.IsHermitian.lanczosFA_congr

Library ยท theorem

Lanczos-FA sees f only on an interval containing the spectrum: if f = g on [a, a'] and the spectrum of Hermitian \mathbf{A} lies in [a, a'], the approximations \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q) and \mathsf{lanczosFA}(\mathbf{A}, g, \mathbf{b}, q) agree, since the Ritz values lie in [a, a'] (Matrix.IsHermitian.spectrum_conjTranspose_mul_mul_subset_Icc).

Matrix.IsHermitian.lanczosFA_congr.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) {a a' : โ„}
  (hs : spectrum โ„ A โІ Set.Icc a a') {f g : โ„ โ†’ โ„} (h : โˆ€ x โˆˆ Set.Icc a a', f x = g x) (b : n โ†’ ๐•œ)
  (q : โ„•) : lanczosFA A f b q = lanczosFA A g b q

Full source on GitHub

Import NLAlib.Krylov.Functions.LanczosFA.