11 #include "gsl/gsl_mode.h" 12 #include "gsl/gsl_sf_result.h" 24 namespace GaudiMathImplementation
28 : AbsFunction(), m_function( function ), m_result(
std::make_unique<gsl_sf_result>() )
57 return Genfun::FunctionNoop( &aux );
60 return Genfun::FunctionNoop( &aux );
90 return Genfun::FunctionNoop( &aux );
93 return Genfun::FunctionNoop( &aux );
101 const gsl_mode_t&
mod )
104 ,
m_mode(
std::make_unique<gsl_mode_t>( mod ) )
105 , m_result(
std::make_unique<gsl_sf_result>( gsl_sf_result{-1.e+10, -1.e+10} ) )
133 return Genfun::FunctionNoop( &aux );
136 return Genfun::FunctionNoop( &aux );
Function function() const
get the function itself
Function function() const
get the function itself
double(* Function)(double, gsl_mode_t)
the actual type of the function
std::unique_ptr< gsl_mode_t > m_mode
const gsl_sf_result & result() const
get the last evaluated result
const gsl_sf_result & result() const
get the last evaluated result
Genfun::GaudiMathImplementation::NumericalDerivative Derivative
double operator()(double x) const override
the main method
mandatory macro from CLHEP/GenericFunctions
double operator()(double x) const override
the main method
Genfun::Derivative partial(unsigned int i) const override
std::unique_ptr< gsl_sf_result > m_result
Genfun::Derivative partial(unsigned int i) const override
double operator()(double x) const override
the main method
const gsl_mode_t & mode() const
get the current mode
std::unique_ptr< gsl_mode_t > m_mode
std::unique_ptr< gsl_sf_result > m_result
Function function() const
get the function itself
Genfun::Derivative partial(unsigned int i) const override
GSLFunctionWithModeAndError()
const gsl_mode_t & mode() const
get the current mode
double error() const
get the error in the last estimate of the result
int(* Function)(double, gsl_sf_result *)
the actual type of the function
mandatory macro from CLHEP/GenericFunctions
Genfun::GaudiMathImplementation::Constant Constant
double error() const
get the error in the last estimate of the result
int(* Function)(double, gsl_mode_t, gsl_sf_result *)
the actual type of the function