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 Interpolation::Type type, const std::vector< double > &x, const std::vector< double > &y)
 
 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 ()
 

Private Member Functions

 GSLInterpolator (const GSLInterpolator &)
 
GSLInterpolatoroperator= (const GSLInterpolator &)
 

Private Attributes

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

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

Constructor & Destructor Documentation

◆ GSLInterpolator() [1/3]

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

Definition at line 41 of file GSLInterpolator.cxx.

◆ GSLInterpolator() [2/3]

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/3]

ROOT::Math::GSLInterpolator::GSLInterpolator ( const GSLInterpolator )
private

Definition at line 122 of file GSLInterpolator.cxx.

Member Function Documentation

◆ Deriv()

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

Definition at line 95 of file GSLInterpolator.h.

◆ Deriv2()

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

Definition at line 117 of file GSLInterpolator.h.

◆ Eval()

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

Definition at line 73 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 138 of file GSLInterpolator.h.

◆ Name()

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

Definition at line 162 of file GSLInterpolator.h.

◆ operator=()

GSLInterpolator & ROOT::Math::GSLInterpolator::operator= ( const GSLInterpolator rhs)
private

Definition at line 127 of file GSLInterpolator.cxx.

Member Data Documentation

◆ fAccel

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

Definition at line 169 of file GSLInterpolator.h.

◆ fInterpType

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

Definition at line 171 of file GSLInterpolator.h.

◆ fResetNErrors

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

Definition at line 168 of file GSLInterpolator.h.

◆ fSpline

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

Definition at line 170 of file GSLInterpolator.h.

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