Skip to main content

Module pchip

Module pchip 

Source
Expand description

Piecewise cubic Hermite interpolating polynomial (PCHIP), after Fritsch and Carlson.

The interpolant is monotone wherever the data are monotone and never overshoots the data, at the price of only first-derivative continuity.

See the book entry Piecewise and spline interpolation.

Functionsยง

pchip
Builds a PCHIP interpolant through (x, y); x must be strictly increasing, at least two points.