88 gsl_interp * interp =
fSpline->interp;
89 if (size != interp->size) {
98 int iret = gsl_spline_init(
fSpline ,
x ,
y , size );
99 if (iret != 0)
return false;
102 fAccel = gsl_interp_accel_alloc() ;
104 gsl_interp_accel_reset(
fAccel);
130 if (
this == &rhs)
return *
this;
Interpolation class based on GSL interpolation functions.
virtual ~GSLInterpolator()
gsl_interp_accel * fAccel
GSLInterpolator(unsigned int ndata, Interpolation::Type type)
GSLInterpolator & operator=(const GSLInterpolator &)
bool Init(unsigned int ndata, const double *x, const double *y)
const gsl_interp_type * fInterpType
Type
Enumeration defining the types of interpolation methods availables.
Namespace for new Math classes and functions.
Namespace for new ROOT classes and functions.