NLAlib.integral_probeSpectralMeasure
Library · theorem
The probe spectral measure integrates every f to the Girard–Hutchinson estimate of \operatorname{tr} f(\mathbf{A})/\lvert n\rvert: for every square \mathbf{A}, every f : \mathbb{R} \to \mathbb{R} and every test matrix \mathbf{\Omega}, \int f\,d\,\mathsf{probeSpectralMeasure}(\mathbf{A}, \mathbf{\Omega}) = \frac{\operatorname{Re}\,\mathsf{girardHutchinson}(f(\mathbf{A}), \mathbf{\Omega})}{\lvert n\rvert}\,; both sides vanish off Hermitian. With f = T_k these are the moments of the kernel polynomial method.
NLAlib.integral_probeSpectralMeasure.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
{m : Type u_3} [Fintype n] [DecidableEq n] [Fintype m] (A : Matrix n n 𝕜) (f : ℝ → ℝ)
(Ω : Matrix n m 𝕜) :
∫ (x : ℝ), f x ∂probeSpectralMeasure A Ω =
RCLike.re (girardHutchinson (cfc f A) Ω) / ↑(Fintype.card n)Import NLAlib.Estimation.Spectral.SpectralDensity.