NLA-lib Explorer

NLAlib.probeSpectralMeasure

Library · def

The probe spectral measure: the average of the probes' spectral measures (probe densities), scaled so that isotropic probes give the empirical spectral measure in expectation, \mathsf{probeSpectralMeasure}(\mathbf{A}, \mathbf{\Omega}) := \frac{1}{\lvert n\rvert m}\sum_{j=1}^m \mu_{\mathbf{A},\boldsymbol{\omega}_j}\,, \boldsymbol{\omega}_1, \dots, \boldsymbol{\omega}_m the columns of \mathbf{\Omega}. It is SLQ with exact quadrature (Matrix.IsHermitian.slqMeasure_eq_probeSpectralMeasure_of_card_le); its integral of f is the Girard–Hutchinson estimate of \operatorname{tr} f(\mathbf{A})/\lvert n\rvert (integral_probeSpectralMeasure). Mass \|\mathbf{\Omega}\|_{\mathsf{F}}^2/(\lvert n\rvert m). Junk value: 0 when n or m is empty (0^{-1} = 0 in \mathbb{R}_{\ge 0}) and when \mathbf{A} is not Hermitian. [ChenTrogdonUbaru2021, §2] (locator to check).

NLAlib.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 𝕜) (Ω : Matrix n m 𝕜) : Measure ℝ

Full source on GitHub

Import NLAlib.Estimation.Spectral.SpectralDensity.