Matrix.IsHermitian.integral_eval_spectralMeasure
Library · theorem
The integral of a real polynomial against the spectral measure of a Hermitian \mathbf{A}: \int p\,d\mu_{\mathbf{A},\mathbf{b}} = \operatorname{Re}\,\mathbf{b}^{\mathsf{H}}p(\mathbf{A})\mathbf{b}, with p(\mathbf{A}) the algebra evaluation aeval A p.
Matrix.IsHermitian.integral_eval_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 → 𝕜)
(p : Polynomial ℝ) :
∫ (x : ℝ), Polynomial.eval x p ∂spectralMeasure A b =
RCLike.re (quadForm ((Polynomial.aeval A) p) b)Import NLAlib.Matrix.Spectral.SpectralMeasure.