interpolate.h File Reference

LibRPA: interpolate.h File Reference
LibRPA
interpolate.h File Reference

Component to perform interpolation. More...

#include <vector>
Include dependency graph for interpolate.h:

Go to the source code of this file.

Classes

class  LIBRPA::utils::CubicSpline
 Class to perform cubic spline interolation. More...
 

Namespaces

 LIBRPA
 
 LIBRPA::utils
 

Functions

std::vector< double > LIBRPA::utils::interp_cubic_spline (const std::vector< double > &xs, const std::vector< double > &ys, const std::vector< double > &xs_new)
 Helper function to performance cubic spline interpolation. More...
 

Detailed Description

Component to perform interpolation.

This component includes basic functions to interpolate values from available grid data. The implementation is probably naive. For better performance and validity, it should be replaced by GSL or other GPL-licensed library when license issue is resolved.