|
Gaudi Framework, version v21r6 |
| Home | Generated: 11 Nov 2009 |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLSplineInteg | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLSplineDeriv2 | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLSplineDeriv | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLSpline | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | NumericalIndefiniteIntegral | ) |
from CLHEP/GenericFunctions
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | NumericalDerivative | ) |
from CLHEP/GenericFunctions
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | NumericalDefiniteIntegral | ) |
from CLHEP/GenericFunctions
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLFunctionWithModeAndError | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLFunctionWithMode | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | GSLFunctionWithError | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | Constant | ) |
from CLHGEP/GenericFunctions
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | SimpleFunction | ) |
from CLHGEP/GenericFunctions
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | Adapter3DoubleFunction | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | Adapter2DoubleFunction | ) |
| Genfun::GaudiMathImplementation::FUNCTION_OBJECT_IMP | ( | AdapterIFunction | ) |
| double Genfun::GaudiMathImplementation::GSL_Adaptor | ( | double | x, | |
| void * | params | |||
| ) |
Definition at line 35 of file Helpers.cpp.
00036 { 00037 // get parameters 00038 GSL_Helper* aux = (GSL_Helper*) params ; 00039 // decode parameters 00040 const Genfun::AbsFunction& function = aux -> m_function ; 00041 const size_t index = aux -> m_index ; 00042 Genfun::Argument& argument = aux -> m_argument ; 00043 // save the current value of argument 00044 const double x_prev = argument[index] ; 00045 // modify the argument 00046 argument[index]= x ; 00047 // evaluate the function 00048 const double fun = function( argument ) ; 00049 // restore the argument 00050 argument[index] = x_prev ; 00051 return fun ; 00052 };