NLA-lib Explorer

Matrix.IsHermitian.lanczosQuadrature_real_univ

Library · theorem

The mass of the Lanczos rule: for Hermitian \mathbf{A} and q > 0, \mathsf{lanczosQuadrature}(\mathbf{A}, \mathbf{b}, q)(\mathbb{R}) = \|\mathbf{b}\|^2, the mass of \mu_{\mathbf{A},\mathbf{b}}.

Matrix.IsHermitian.lanczosQuadrature_real_univ.{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 : ℕ}
  (hq : 0 < q) : (lanczosQuadrature A b q).real Set.univ = ‖WithLp.toLp 2 b‖ ^ 2

Full source on GitHub

Import NLAlib.Krylov.Functions.Quadrature.