NLA-lib Explorer

NLAlib.IsMomentPosDef.nodal_gaussNodes

Library · theorem

The orthogonal polynomial is the nodal polynomial of the Gauss nodes: if \mu, finite and supported in [a, \mathbf{b}], is positive definite up to degree k, then \pi_k(z) = \prod_{\mathbf{x}\in G}(z - \mathbf{x}), G the Gauss nodes of order k.

NLAlib.IsMomentPosDef.nodal_gaussNodes {μ : Measure ℝ} [IsFiniteMeasure μ] {a b : ℝ} {k : ℕ}
  (h : IsMomentPosDef μ k) (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) :
  Lagrange.nodal (gaussNodes μ k) id = orthogonalPolynomial μ k

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Zeros.