Spline interpolation (source code)

= Spline interpolation
{wiki}

Spline interpolation matches prescribed function values at distinct sites by an element of a finite-dimensional spline space. In a <B-spline> basis its existence and uniqueness for all data are equivalent to invertibility of the <B-spline collocation matrix>. Distinct ordered sites satisfying the <Schoenberg–Whitney theorem> give this condition.