NLA-lib Explorer

Hermite interpolation and the interpolation remainder

Library · Source module

Hermite interpolation and the interpolation remainder

Nodes with multiplicity are a multiset m: a node y of multiplicity r prescribes the values p(y), p'(y), \dots, p^{(r-1)}(y). For any such data there is exactly one polynomial of degree less than \lvert m\rvert matching it (confluent Hermite interpolation). If f is smooth and \mathbf{H} matches the jets of f, the error is f(\mathbf{x}) - \mathbf{H}(\mathbf{x}) = \frac{f^{(\lvert m\rvert)}(\xi)}{\lvert m\rvert!}\,\omega_m(\mathbf{x})\,,\qquad \omega_m = \prod_{y\in m}(\mathbf{x} - y)\,, for some \xi in the interval. Simple nodes give the Lagrange interpolation remainder for Mathlib's Lagrange.interpolate; doubled Gauss nodes and simple endpoints give the Gauss, Radau and Lobatto remainders (NLAlib.Polynomial.Orthogonal.Gauss, NLAlib.Polynomial.Orthogonal.Radau, NLAlib.Polynomial.Orthogonal.Lobatto).

There is no Hermite interpolant definition: the remainder is stated for any polynomial matching the jets, and the existence theorem supplies one.

Main results

* NLAlib.exists_degree_lt_forall_iterate_derivative_eval_eq: existence of the Hermite interpolant. * NLAlib.eq_of_degree_lt_of_forall_iterate_derivative_eval_eq: its uniqueness. * NLAlib.exists_sub_eval_eq_iteratedDeriv_mul: the Hermite interpolation remainder. * NLAlib.exists_sub_eval_interpolate_eq_iteratedDeriv_mul: the Lagrange interpolation remainder.

Declarations