Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::GSLInterpolator Class Reference

Interpolation class based on GSL interpolation functions.

Definition at line 55 of file GSLInterpolator.h.

Public Member Functions

 GSLInterpolator (const GSLInterpolator &)=delete
 
 GSLInterpolator (const Interpolation::Type type, const std::vector< double > &x, const std::vector< double > &y)
 
 GSLInterpolator (GSLInterpolator &&)=delete
 
 GSLInterpolator (unsigned int ndata, Interpolation::Type type)
 
virtual ~GSLInterpolator ()
 
double Deriv (double x) const
 
double Deriv2 (double x) const
 
double Eval (double x) const
 
bool Init (unsigned int ndata, const double *x, const double *y)
 
double Integ (double a, double b) const
 
std::string Name ()
 
GSLInterpolatoroperator= (const GSLInterpolator &)=delete
 
GSLInterpolatoroperator= (GSLInterpolator &&)=delete
 

Private Attributes

gsl_interp_accel * fAccel
 
const gsl_interp_type * fInterpType
 
bool fResetNErrors
 
gsl_spline * fSpline
 

#include </home/sftnight/build/workspace/root-makedoc-v634/rootspi/rdoc/src/v6-34-00-patches/math/mathmore/src/GSLInterpolator.h>

Constructor & Destructor Documentation

◆ GSLInterpolator() [1/4]

ROOT::Math::GSLInterpolator::GSLInterpolator ( unsigned int  ndata,
Interpolation::Type  type 
)

Definition at line 41 of file GSLInterpolator.cxx.

◆ GSLInterpolator() [2/4]

ROOT::Math::GSLInterpolator::GSLInterpolator ( const Interpolation::Type  type,
const std::vector< double > &  x,
const std::vector< double > &  y 
)

◆ ~GSLInterpolator()

ROOT::Math::GSLInterpolator::~GSLInterpolator ( )
virtual

Definition at line 115 of file GSLInterpolator.cxx.

◆ GSLInterpolator() [3/4]

ROOT::Math::GSLInterpolator::GSLInterpolator ( const GSLInterpolator )
delete

◆ GSLInterpolator() [4/4]

ROOT::Math::GSLInterpolator::GSLInterpolator ( GSLInterpolator &&  )
delete

Member Function Documentation

◆ Deriv()

double ROOT::Math::GSLInterpolator::Deriv ( double  x) const
inline

Definition at line 94 of file GSLInterpolator.h.

◆ Deriv2()

double ROOT::Math::GSLInterpolator::Deriv2 ( double  x) const
inline

Definition at line 116 of file GSLInterpolator.h.

◆ Eval()

double ROOT::Math::GSLInterpolator::Eval ( double  x) const
inline

Definition at line 72 of file GSLInterpolator.h.

◆ Init()

bool ROOT::Math::GSLInterpolator::Init ( unsigned int  ndata,
const double x,
const double y 
)

Definition at line 81 of file GSLInterpolator.cxx.

◆ Integ()

double ROOT::Math::GSLInterpolator::Integ ( double  a,
double  b 
) const
inline

Definition at line 137 of file GSLInterpolator.h.

◆ Name()

std::string ROOT::Math::GSLInterpolator::Name ( )
inline

Definition at line 161 of file GSLInterpolator.h.

◆ operator=() [1/2]

GSLInterpolator & ROOT::Math::GSLInterpolator::operator= ( const GSLInterpolator )
delete

◆ operator=() [2/2]

GSLInterpolator & ROOT::Math::GSLInterpolator::operator= ( GSLInterpolator &&  )
delete

Member Data Documentation

◆ fAccel

gsl_interp_accel* ROOT::Math::GSLInterpolator::fAccel
private

Definition at line 168 of file GSLInterpolator.h.

◆ fInterpType

const gsl_interp_type* ROOT::Math::GSLInterpolator::fInterpType
private

Definition at line 170 of file GSLInterpolator.h.

◆ fResetNErrors

bool ROOT::Math::GSLInterpolator::fResetNErrors
mutableprivate

Definition at line 167 of file GSLInterpolator.h.

◆ fSpline

gsl_spline* ROOT::Math::GSLInterpolator::fSpline
private

Definition at line 169 of file GSLInterpolator.h.

  • math/mathmore/src/GSLInterpolator.h
  • math/mathmore/src/GSLInterpolator.cxx