24 const std::vector<float>& xtabulated,
25 const std::vector<float>& ytabulated);
28 return y1+(y2-y1)*(xval-x1)/(x2-x1);
float Interpolate(float xval, const std::vector< float > &xtabulated, const std::vector< float > &ytabulated)
Interpolation function.
float calculate_interpolation(float xval, float x1, float x2, float y1, float y2)