NLA-lib Explorer

Gauss–Lobatto rules

Library · Source module

Gauss–Lobatto rules

The Gauss–Lobatto rule of a measure \mu on [a, \mathbf{b}] prescribes both endpoints a and \mathbf{b}, puts k free nodes at the zeros of the orthogonal polynomial of the modified measure \lvert(\mathbf{x} - a)(\mathbf{x} - \mathbf{b})\rvert\,d\mu(\mathbf{x}) (lobattoMeasure), and takes interpolatory weights at the k + 2 nodes. Like the Radau rule (NLAlib.Polynomial.Orthogonal.Radau), whose endpoint and weight steps it reuses, it is defined for every measure, all a, \mathbf{b} and every k.

For a finite measure \mu supported in [a, \mathbf{b}] and a < \mathbf{b}, the Lobatto rule integrates every polynomial of degree at most 2k + 1 exactly (it matches 2k + 2 moments), and its remainder is f^{(2k+2)}(\xi)/(2k+2)! times \int(\mathbf{x} - a)(\mathbf{x} - \mathbf{b})\hat\pi_k(\mathbf{x})^2\,d\mu(\mathbf{x}), a nonpositive weight, which gives two one-sided bounds.

Main definitions

* NLAlib.lobattoMeasure, NLAlib.lobattoNodes, NLAlib.lobattoQuadrature: the Lobatto rule.

Main results

* NLAlib.integral_eval_basis_lobattoNodes_nonneg: nonnegative weights. * NLAlib.matchesMoments_lobattoQuadrature, NLAlib.exists_integral_sub_integral_lobattoQuadrature_eq: Lobatto exactness and remainder, with two bounds.

Declarations