NLA-lib Explorer

NLAlib.slqMeasure

Library · def

The SLQ spectral-density estimate: the average, scaled as probeSpectralMeasure, of the q-point Gauss rules of the probe densities, \mathsf{slqMeasure}(\mathbf{A}, \mathbf{\Omega}, q) := \frac{1}{\lvert n\rvert m}\sum_{j=1}^m \mathsf{gaussQuadrature}(\mu_{\mathbf{A},\boldsymbol{\omega}_j}, q)\,, \boldsymbol{\omega}_1, \dots, \boldsymbol{\omega}_m the columns of \mathbf{\Omega}. It is not the Gauss rule of probeSpectralMeasure: it has up to mq nodes and matches 2q moments of it. For Hermitian \mathbf{A} it is the average of the Lanczos rules, atoms at each probe's Ritz values (Matrix.IsHermitian.slqMeasure_eq_sum_lanczosQuadrature). Its integral of f is \operatorname{Re}\,\mathsf{slq}(\mathbf{A}, f, \mathbf{\Omega}, q)/\lvert n\rvert (integral_slqMeasure). Junk value: 0 when n or m is empty or q = 0. [ChenTrogdonUbaru2021, §2] (locator to check); [UbaruChenSaad2017, §3] (locator to check).

NLAlib.slqMeasure.{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 𝕜) (q : ℕ) : Measure ℝ

Full source on GitHub

Import NLAlib.Estimation.Spectral.SpectralDensity.