|
Gaudi Framework, version v22r0 |
| Home | Generated: 9 Feb 2011 |
Classes | |
| class | Constant |
| Fixed constant function. More... | |
| class | AdapterIFunction |
| constructor from the IFunction ( see AIDA/IFunction.h) More... | |
| class | Adapter2DoubleFunction |
| constructor from the trivial function with two argument More... | |
| class | Adapter3DoubleFunction |
| constructor from the trivial function with two argument More... | |
| class | SimpleFunction |
| class | GSLFunctionWithError |
| class | GSLFunctionWithMode |
| class | GSLFunctionWithModeAndError |
| class | NumericalDefiniteIntegral |
| This class allows the numerical evaluation of the following functions:. More... | |
| class | NumericalDerivative |
| Numerical derivative (using GSL adaptive numerical differentiation). More... | |
| class | NumericalIndefiniteIntegral |
| The simple class for numerical integrations. More... | |
| class | SplineBase |
| class | GSLSpline |
| class | GSLSplineDeriv |
| class | GSLSplineDeriv2 |
| class | GSLSplineInteg |
Typedefs | |
| typedef Genfun::GaudiMathImplementation::SimpleFunction | GSLFunction |
| the actual type for primitive adaptor | |
Functions | |
| double | GSL_Adaptor (double x, void *params) |
| typedef Genfun::GaudiMathImplementation::SimpleFunction Genfun::GaudiMathImplementation::GSLFunction |
the actual type for primitive adaptor
Definition at line 30 of file GSLFunAdapters.h.
| double Genfun::GaudiMathImplementation::GSL_Adaptor | ( | double | x, | |
| void * | params | |||
| ) |
Definition at line 33 of file Helpers.cpp.
00034 {} 00035 // ======================================================================== 00036 00037 // ======================================================================== 00038 double GSL_Adaptor( double x , void* params ) 00039 { 00040 // get parameters 00041 GSL_Helper* aux = (GSL_Helper*) params ; 00042 // decode parameters 00043 const Genfun::AbsFunction& function = aux -> m_function ; 00044 const size_t index = aux -> m_index ; 00045 Genfun::Argument& argument = aux -> m_argument ; 00046 // save the current value of argument 00047 const double x_prev = argument[index] ; 00048 // modify the argument 00049 argument[index]= x ; 00050 // evaluate the function