NLAlib.IsOrthogonalPolynomial.matchesMoments_interpolatoryQuadrature
Library · theorem
The Gauss rule matches 2\lvert s\rvert moments: if the nodal polynomial of s is orthogonal in L^2(\mu) to the polynomials of degree less than \lvert s\rvert, for a finite measure \mu supported in [a, \mathbf{b}], then \mu and its interpolatory rule at s match their first 2\lvert s\rvert moments. [Gautschi2004, Theorems 1.45 and 1.46]; [GolubMeurant2010, Ch. 6]. Result: gauss-quadrature
NLAlib.IsOrthogonalPolynomial.matchesMoments_interpolatoryQuadrature {μ : Measure ℝ} {s : Finset ℝ}
(hs : IsOrthogonalPolynomial μ s.card (Lagrange.nodal s id)) [IsFiniteMeasure μ] {a b : ℝ}
(hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) :
MatchesMoments μ (interpolatoryQuadrature μ s) (2 * s.card)Import NLAlib.Polynomial.Orthogonal.Gauss.