This class takes in x-dependent data and interpolates it to a given x on request. This class uses the cubic spline methods from gsl to interpolate the data.
More...
#include <interpolation.hh>
This class takes in x-dependent data and interpolates it to a given x on request. This class uses the cubic spline methods from gsl to interpolate the data.
◆ CubicSpline()
DiFfRG::Interpolation::CubicSpline::CubicSpline |
( |
const std::vector< double > & | x, |
|
|
const std::vector< double > & | y ) |
◆ ~CubicSpline()
DiFfRG::Interpolation::CubicSpline::~CubicSpline |
( |
| ) |
|
◆ derivative()
double DiFfRG::Interpolation::CubicSpline::derivative |
( |
double | x | ) |
const |
◆ operator()()
double DiFfRG::Interpolation::CubicSpline::operator() |
( |
double | x | ) |
const |
◆ value()
double DiFfRG::Interpolation::CubicSpline::value |
( |
double | x | ) |
const |
◆ acc
gsl_interp_accel* DiFfRG::Interpolation::CubicSpline::acc |
|
private |
◆ spline
gsl_spline* DiFfRG::Interpolation::CubicSpline::spline |
|
private |
The documentation for this class was generated from the following file: