NLA-lib Explorer

NLAlib.integral_lobattoMeasure

Library · theorem

Integrals against the Lobatto modified measure: for every measure \mu on \mathbb{R}, all a, \mathbf{b} and every g : \mathbb{R} \to \mathbb{R}, \int g\,d\,\mathsf{lobattoMeasure}(\mu, a, \mathbf{b}) = \int\lvert(\mathbf{x} - a)(\mathbf{x} - \mathbf{b})\rvert\,g(\mathbf{x})\,d\mu(\mathbf{x}).

NLAlib.integral_lobattoMeasure (μ : Measure ℝ) (a b : ℝ) (g : ℝ → ℝ) :
  ∫ (x : ℝ), g x ∂lobattoMeasure μ a b = ∫ (x : ℝ), |(x - a) * (x - b)| * g x ∂μ

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Lobatto.