Monotone spline function C++ Based on ``Accurate Monotonicity Preserving Cubic Interpolation'' paper x is monotone increasing To compile: g++ -std=c++11 hyman_spline.cpp -o spline