ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Math::GSLInterpolator Class Reference

Interpolation class based on GSL interpolation functions.

Definition at line 55 of file GSLInterpolator.h.

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/math/mathmore/src/GSLInterpolator.h>

Constructor & Destructor Documentation

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

Definition at line 41 of file GSLInterpolator.cxx.

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

Definition at line 115 of file GSLInterpolator.cxx.

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

Definition at line 122 of file GSLInterpolator.cxx.

Member Function Documentation

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

Definition at line 90 of file GSLInterpolator.h.

Referenced by ROOT::Math::Interpolator::Deriv().

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

Definition at line 107 of file GSLInterpolator.h.

Referenced by ROOT::Math::Interpolator::Deriv2().

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

Definition at line 73 of file GSLInterpolator.h.

Referenced by ROOT::Math::Interpolator::Eval().

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

Definition at line 81 of file GSLInterpolator.cxx.

Referenced by ROOT::Math::Interpolator::SetData().

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

Definition at line 123 of file GSLInterpolator.h.

Referenced by ROOT::Math::Interpolator::Integ().

std::string ROOT::Math::GSLInterpolator::Name ( )
inline
GSLInterpolator & ROOT::Math::GSLInterpolator::operator= ( const GSLInterpolator rhs)
private

Definition at line 127 of file GSLInterpolator.cxx.

Member Data Documentation

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

Definition at line 151 of file GSLInterpolator.h.

Referenced by Deriv(), Deriv2(), Eval(), Init(), Integ(), and ~GSLInterpolator().

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

Definition at line 153 of file GSLInterpolator.h.

Referenced by GSLInterpolator(), Init(), and Name().

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

Definition at line 150 of file GSLInterpolator.h.

Referenced by Deriv(), Deriv2(), Eval(), Init(), and Integ().

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

Definition at line 152 of file GSLInterpolator.h.

Referenced by Deriv(), Deriv2(), Eval(), GSLInterpolator(), Init(), Integ(), and ~GSLInterpolator().


The documentation for this class was generated from the following files: