NLAlib.spectralMeasure_map_jacobiMatrix
Library · theorem
Golub–Welsch over any RCLike field: for a finite measure \mu supported in [a, c] and every k, the (k+1)-point Gauss rule of \mu is the spectral measure of the Jacobi matrix \mathbf{J}_{k+1}(\mu), with its real entries read in \Bbbk, and \sqrt{\mu(\mathbb{R})}\,\mathbf{e}_0. The form for implementation statements over a complex Hermitian matrix. [Gautschi2004, Theorem 3.1]; [GolubWelsch1969, §2] (labels to check).
NLAlib.spectralMeasure_map_jacobiMatrix.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] (μ : Measure ℝ)
[IsFiniteMeasure μ] {a c : ℝ} (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a c) (k : ℕ) :
spectralMeasure ((jacobiMatrix μ (k + 1)).map ⇑(algebraMap ℝ 𝕜))
(↑√(μ.real Set.univ) • Pi.single 0 1) =
gaussQuadrature μ (k + 1)Import NLAlib.Krylov.Functions.Quadrature.