NLA-lib Explorer

NLAlib.integral_eval_basis_lobattoNodes_nonneg

Library · theorem

The Lobatto weights are nonnegative: for a finite measure \mu supported in [a, \mathbf{b}], a < \mathbf{b}, and every k, the interpolatory weight \int\ell_\mathbf{x}\,d\mu of every Lobatto node \mathbf{x} is nonnegative, \ell_\mathbf{x} its Lagrange basis polynomial. [Gautschi2004, Theorem 3.6] (locator to check); there positive, for \mu with more than k interior support points.

NLAlib.integral_eval_basis_lobattoNodes_nonneg {μ : Measure ℝ} [IsFiniteMeasure μ] {a b : ℝ}
  (hμ : ∀ᵐ (x : ℝ) ∂μ, x ∈ Set.Icc a b) (hab : a < b) (k : ℕ) {x : ℝ}
  (hx : x ∈ lobattoNodes μ a b k) :
  0 ≤ ∫ (t : ℝ), Polynomial.eval t (Lagrange.basis (lobattoNodes μ a b k) id x) ∂μ

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Lobatto.