7 #include "CLHEP/GenericFunctions/AbsFunction.hh"
10 using namespace CLHEP;
19 namespace GaudiMathImplementation
23 GSL_Helper::GSL_Helper
24 (
const Genfun::AbsFunction&
function ,
25 Genfun::Argument& argument ,
27 : m_function (
function ) ,
28 m_argument ( argument ) ,
34 GSL_Helper::~GSL_Helper(){}
43 const Genfun::AbsFunction&
function = aux -> m_function ;
44 const size_t index = aux -> m_index ;
45 Genfun::Argument& argument = aux -> m_argument ;
47 const double x_prev = argument[index] ;
51 const double fun =
function( argument ) ;
53 argument[index] = x_prev ;