// spline test g++ -std=c++11 gsl_spline.cpp `gsl-config --libs` #include #include #include #include // home made call to GSL spline #include "gsl_spline.hpp" typedef std::vector vec; void output(const vec& x, const vec y) { std::cout<tt // gnuplot // p 'tt' i 0 w p pt 7 ps 1.5 t'known points','' i 1 w lp pt 8 t'cubic','' i 2 w lp pt 12 t'akima'