![]() |
The Gaudi Framework
v26r3
|
Public Types | |
| typedef std::vector< double > | Data1D |
| typedef std::vector< std::pair< double, double > > | Data2D |
| typedef std::vector< double > | Data1D |
| typedef std::vector< std::pair< double, double > > | Data2D |
Public Member Functions | |
| SplineBase (const Data1D &x, const Data1D &y, const GaudiMath::Interpolation::Type type) | |
| constructor from vectors and type More... | |
| SplineBase (const Data2D &data, const GaudiMath::Interpolation::Type type) | |
| constructor from vector of (x,y(x)) pairs More... | |
| template<class DATAX , class DATAY > | |
| SplineBase (const GaudiMath::Interpolation::Type type, DATAX begin_x, DATAX end_x, DATAY begin_y) | |
| templated constructor in the spirit of STL-algorithms More... | |
| template<class DATA > | |
| SplineBase (const GaudiMath::Interpolation::Type type, DATA begin, DATA end) | |
| templated constructor from the sequence of (x,y(x)) pairs as sequence of pairs the class TabulatedProperty can be used More... | |
| SplineBase (const SplineBase &) | |
| copy constructor More... | |
| virtual | ~SplineBase () |
| destructor More... | |
| double | eval (const double x) const |
| evaluate the function More... | |
| double | deriv (const double x) const |
| evaluate the first derivative More... | |
| double | deriv2 (const double x) const |
| evaluate the second derivative More... | |
| double | integ (const double a, const double b) const |
| evaluate the integral on [a,b] More... | |
| SplineBase (const Data1D &x, const Data1D &y, const GaudiMath::Interpolation::Type type) | |
| constructor from vectors and type More... | |
| SplineBase (const Data2D &data, const GaudiMath::Interpolation::Type type) | |
| constructor from vector of (x,y(x)) pairs More... | |
| template<class DATAX , class DATAY > | |
| SplineBase (const GaudiMath::Interpolation::Type type, DATAX begin_x, DATAX end_x, DATAY begin_y) | |
| templated constructor in the spirit of STL-algorithms More... | |
| template<class DATA > | |
| SplineBase (const GaudiMath::Interpolation::Type type, DATA begin, DATA end) | |
| templated constructor from the sequence of (x,y(x)) pairs as sequence of pairs the class TabulatedProperty can be used More... | |
| SplineBase (const SplineBase &) | |
| copy constructor More... | |
| virtual | ~SplineBase () |
| destructor More... | |
| double | eval (const double x) const |
| evaluate the function More... | |
| double | deriv (const double x) const |
| evaluate the first derivative More... | |
| double | deriv2 (const double x) const |
| evaluate the second derivative More... | |
| double | integ (const double a, const double b) const |
| evaluate the integral on [a,b] More... | |
Protected Member Functions | |
| void | initialize () const |
| void | initialize () const |
Private Member Functions | |
| SplineBase () | |
| SplineBase & | operator= (const SplineBase &) |
| SplineBase () | |
| SplineBase & | operator= (const SplineBase &) |
Private Attributes | |
| bool | m_init |
| size_t | m_dim |
| double * | m_x |
| double * | m_y |
| gsl_spline * | m_spline |
| gsl_interp_accel * | m_accel |
| GaudiMath::Interpolation::Type | m_type |
| typedef std::vector<double> Genfun::GaudiMathImplementation::SplineBase::Data1D |
| typedef std::vector<double> Genfun::GaudiMathImplementation::SplineBase::Data1D |
| typedef std::vector<std::pair<double,double> > Genfun::GaudiMathImplementation::SplineBase::Data2D |
| typedef std::vector<std::pair<double,double> > Genfun::GaudiMathImplementation::SplineBase::Data2D |
| Genfun::GaudiMathImplementation::SplineBase::SplineBase | ( | const Data1D & | x, |
| const Data1D & | y, | ||
| const GaudiMath::Interpolation::Type | type | ||
| ) |
constructor from vectors and type
| x | vector of x |
| y | vector of y(x) |
| type | interpolation type |
Definition at line 34 of file Splines.cpp.
| Genfun::GaudiMathImplementation::SplineBase::SplineBase | ( | const Data2D & | data, |
| const GaudiMath::Interpolation::Type | type | ||
| ) |
constructor from vector of (x,y(x)) pairs
| data | vector of (x,y(x)) pairs |
| type | interpolaiton type |
Definition at line 68 of file Splines.cpp.
|
inline |
templated constructor in the spirit of STL-algorithms
| type | interpolation type |
| begin_x | begin of X-sequence |
| end_x | end of X-sequence |
| begin_Y | begin of Y-sequence |
Definition at line 66 of file Splines.h.
|
inline |
templated constructor from the sequence of (x,y(x)) pairs as sequence of pairs the class TabulatedProperty can be used
| type | interpolation type |
| begin | begin of sequence of (x,y(x)) pairs |
| end | end of sequence of (x,y(x)) pairs |
Definition at line 90 of file Splines.h.
| Genfun::GaudiMathImplementation::SplineBase::SplineBase | ( | const SplineBase & | right | ) |
copy constructor
Definition at line 92 of file Splines.cpp.
|
virtual |
destructor
Definition at line 110 of file Splines.cpp.
|
private |
| Genfun::GaudiMathImplementation::SplineBase::SplineBase | ( | const Data1D & | x, |
| const Data1D & | y, | ||
| const GaudiMath::Interpolation::Type | type | ||
| ) |
constructor from vectors and type
| x | vector of x |
| y | vector of y(x) |
| type | interpolation type |
| Genfun::GaudiMathImplementation::SplineBase::SplineBase | ( | const Data2D & | data, |
| const GaudiMath::Interpolation::Type | type | ||
| ) |
constructor from vector of (x,y(x)) pairs
| data | vector of (x,y(x)) pairs |
| type | interpolaiton type |
|
inline |
templated constructor in the spirit of STL-algorithms
| type | interpolation type |
| begin_x | begin of X-sequence |
| end_x | end of X-sequence |
| begin_Y | begin of Y-sequence |
Definition at line 66 of file Splines.h.
|
inline |
templated constructor from the sequence of (x,y(x)) pairs as sequence of pairs the class TabulatedProperty can be used
| type | interpolation type |
| begin | begin of sequence of (x,y(x)) pairs |
| end | end of sequence of (x,y(x)) pairs |
Definition at line 90 of file Splines.h.
| Genfun::GaudiMathImplementation::SplineBase::SplineBase | ( | const SplineBase & | ) |
copy constructor
|
virtual |
destructor
|
private |
| double Genfun::GaudiMathImplementation::SplineBase::deriv | ( | const double | x | ) | const |
evaluate the first derivative
Definition at line 165 of file Splines.cpp.
| double Genfun::GaudiMathImplementation::SplineBase::deriv | ( | const double | x | ) | const |
evaluate the first derivative
| double Genfun::GaudiMathImplementation::SplineBase::deriv2 | ( | const double | x | ) | const |
evaluate the second derivative
| double Genfun::GaudiMathImplementation::SplineBase::deriv2 | ( | const double | x | ) | const |
evaluate the second derivative
Definition at line 173 of file Splines.cpp.
| double Genfun::GaudiMathImplementation::SplineBase::eval | ( | const double | x | ) | const |
evaluate the function
Definition at line 157 of file Splines.cpp.
| double Genfun::GaudiMathImplementation::SplineBase::eval | ( | const double | x | ) | const |
evaluate the function
|
protected |
|
protected |
Definition at line 121 of file Splines.cpp.
| double Genfun::GaudiMathImplementation::SplineBase::integ | ( | const double | a, |
| const double | b | ||
| ) | const |
evaluate the integral on [a,b]
Definition at line 181 of file Splines.cpp.
| double Genfun::GaudiMathImplementation::SplineBase::integ | ( | const double | a, |
| const double | b | ||
| ) | const |
evaluate the integral on [a,b]
|
private |
|
private |
|
mutableprivate |
|
private |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
|
private |