cubic spline interpolation

A popular method consists of using cubic polynomials on subintervals to approximate the underlying function. A cubic has 4 coefficients, so there are two degrees of freedom left, after fitting it to a pair of data points, to ensure smoothness of the overall fit.

Definition

Construction

Calculation