NLA-lib Explorer

Matrix.IsHermitian.lanczosQuadrature_succ_eq

Library Β· theorem

The Lanczos rule from the Lanczos recurrence: for Hermitian \mathbf{A} and every q, \mathsf{lanczosQuadrature}(\mathbf{A}, \mathbf{b}, q + 1) = \mu_{\mathbf{T},\,\|\mathbf{b}\|\mathbf{e}_0}, with \mathbf{T} the tridiagonal matrix of q + 1 steps of the recurrence (lanczosTridiagonal). Past the grade the recurrence pads \mathbf{T} with zeros, and the statement still holds.

Matrix.IsHermitian.lanczosQuadrature_succ_eq.{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 : β„•) :
  lanczosQuadrature A b (q + 1) =
    spectralMeasure (lanczosTridiagonal A b (q + 1)) (↑‖WithLp.toLp 2 bβ€– β€’ Pi.single 0 1)

Full source on GitHub

Import NLAlib.Krylov.Functions.Quadrature.