SciPy

scipy.interpolate.pchip.c

pchip.c