31#ifndef ROOT_Math_Interpolator
32#define ROOT_Math_Interpolator
52 class GSLInterpolator;
98 bool SetData(
const std::vector<double> &
x,
const std::vector<double> &
y);
105 bool SetData(
unsigned int ndata,
const double *
x,
const double *
y);
110 double Eval(
double x )
const;
115 double Deriv(
double x )
const;
120 double Deriv2(
double x )
const;
125 double Integ(
double a,
double b)
const;
130 std::string
Type()
const;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Interpolation class based on GSL interpolation functions.
Class for performing function interpolation of points.
double Deriv2(double x) const
Return the second derivative of the interpolated function at point x.
std::string Type() const
Return the type of interpolation method.
bool SetData(const std::vector< double > &x, const std::vector< double > &y)
Set the data vector ( x[] and y[] ) To be efficient, the size of the data must be the same of the val...
double Integ(double a, double b) const
Return the Integral of the interpolated function over the range [a,b].
std::string TypeGet() const
double Deriv(double x) const
Return the derivative of the interpolated function at point x.
double Eval(double x) const
Return the interpolated value at point x.
Interpolator(const Interpolator &)=delete
GSLInterpolator * fInterp
Interpolator & operator=(const Interpolator &)=delete
Interpolator(Interpolator &&)=delete
Type
Enumeration defining the types of interpolation methods availables.
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...