9 #ifndef __Pulsar_Interpolation_h
10 #define __Pulsar_Interpolation_h
12 #include "Reference.h"
14 #include <gsl/gsl_interp.h>
15 #include <gsl/gsl_spline.h>
32 void init ( const std::vector<double>& x, const std::vector<double>& y);
35 double eval ( double x);
44 gsl_interp_accel* acc;
virtual ~Interpolation() Destructor. Definition: Interpolation.C:23
double eval(double x) Evaluate at the given abscissa. Definition: Interpolation.C:59
Interpolation() Default constructor. Definition: Interpolation.C:14
Interface to GSL interpolation routines. Definition: Interpolation.h:20
Manages Reference::To references to the instance. Definition: ReferenceAble.h:40
void init(const std::vector< double > &x, const std::vector< double > &y) Initialize interpolation object. Definition: Interpolation.C:29
Generated using doxygen 1.8.17
|