NLA-lib Explorer

Matrix.IsHermitian.integral_pow_spectralMeasure

Library · theorem

The moments of the spectral measure of a Hermitian \mathbf{A}: \int x^k\,d\mu_{\mathbf{A},\mathbf{b}} = \operatorname{Re}\,\mathbf{b}^{\mathsf{H}}\mathbf{A}^k\mathbf{b}.

Matrix.IsHermitian.integral_pow_spectralMeasure.{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 → 𝕜) (k : ℕ) :
  ∫ (x : ℝ), x ^ k ∂spectralMeasure A b = RCLike.re (quadForm (A ^ k) b)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SpectralMeasure.