NLA-lib Explorer

Matrix.IsHermitian.lanczosQuadrature_eq_gaussQuadrature

Library ยท theorem

Headline of lanczos-gauss-quadrature (provisional)

Lanczos quadrature is the Gauss rule of the spectral measure: for Hermitian \mathbf{A} and every q, \mathsf{lanczosQuadrature}(\mathbf{A}, \mathbf{b}, q) is the q-point Gauss rule of \mu_{\mathbf{A},\mathbf{b}}, for every RCLike field (complex Hermitian included). [GolubMeurant2010, Ch. 6]. Result: lanczos-gauss-quadrature

Matrix.IsHermitian.lanczosQuadrature_eq_gaussQuadrature.{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 = gaussQuadrature (spectralMeasure A b) q

Full source on GitHub

Import NLAlib.Krylov.Functions.Quadrature.