1 #ifndef _theplu_yat_regression_gslinterpolation_
2 #define _theplu_yat_regression_gslinterpolation_
26 #include <gsl/gsl_interp.h>
33 namespace regression {
155 gsl_interp_accel* accelerator_;
157 gsl_interp* interpolator_;
virtual ~GSLInterpolation(void)=0
The destructor.
double evaluate(double x)
Calculate the interpolated value for x.
double evaluate_derivative2(double x)
Calculate the 2nd derivative of the interpolated function at x.
double evaluate_derivative(double x)
Calculate the derivative of the interpolated function at x.
GSLInterpolation(const gsl_interp_type *, const utility::VectorBase &x, const utility::VectorBase &y)
The default constructor.
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
double evaluate_integral(double a, double b)
Calculate the numerical integral of the interpolated function over the range .
unsigned int min_size(void) const
This function returns the minimum number of points required by the interpolation type.
double evaluation(void) const
The result of the latest evaluaion function call is stored and can be retrieved with this function...
Base class for interfacing GSL interpolation.
Definition: GSLInterpolation.h:59