CubicSpline Class Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
DiFfRG::Interpolation::CubicSpline Class Reference
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>
Public Member Functions | |
| CubicSpline (const std::vector< double > &x, const std::vector< double > &y) | |
| ~CubicSpline () | |
| double | operator() (double x) const |
| double | value (double x) const |
| double | derivative (double x) const |
Private Attributes | |
| gsl_interp_accel * | acc |
| gsl_spline * | spline |
Detailed Description
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.
Constructor & Destructor Documentation
◆ CubicSpline()
| DiFfRG::Interpolation::CubicSpline::CubicSpline | ( | const std::vector< double > & | x, |
| const std::vector< double > & | y | ||
| ) |
◆ ~CubicSpline()
| DiFfRG::Interpolation::CubicSpline::~CubicSpline | ( | ) |
Member Function Documentation
◆ derivative()
◆ operator()()
◆ value()
Member Data Documentation
◆ acc
|
private |
◆ spline
|
private |
The documentation for this class was generated from the following file:
- /__w/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/interpolation.hh
Generated by