9 #include "AIDA/IFunction.h" 16 namespace GaudiMathImplementation
31 for (
size_t i = 0; i <
m_arg.
size(); ++i ) {
41 return Genfun::FunctionNoop( &aux );
44 return Genfun::FunctionNoop( &aux );
48 : AbsFunction(), m_func( func )
63 return Genfun::FunctionNoop( &aux );
66 return Genfun::FunctionNoop( &aux );
85 return Genfun::FunctionNoop( &aux );
88 return Genfun::FunctionNoop( &aux );
131 return Genfun::FunctionNoop( &aux );
134 return Genfun::FunctionNoop( &aux );
151 return ( *fun )(
m_arg );
163 for (
size_t i = 0; i <
m_arg.
size(); ++i ) {
164 m_arg[i] = argument[i];
169 for (
size_t i = 0; i <
m_arg.
size(); ++i ) {
170 m_arg[i] = argument[i];
172 return ( *f )(
m_arg );
double(* Function)(const double, const double)
the actual type of the function "to be adapted"
Genfun::Derivative partial(unsigned int i) const override
Derivatives.
double(* Function3)(const std::vector< double > &)
Genfun::Derivative partial(unsigned int i) const override
Derivatives.
unsigned int dimensionality() const override
dimensionality of the problem
double operator()(double x) const override
Genfun::Derivative partial(unsigned int i) const override
Derivatives.
Genfun::Derivative partial(unsigned int i) const override
Derivatives.
double operator()(double) const override
Function value.
AdapterIFunction(const AIDA::IFunction &fun)
mandatory macro from CLHEP/GenericFunctions
Genfun::GaudiMathImplementation::NumericalDerivative Derivative
double operator()(double a) const override
double(* Function1)(const double)
std::vector< double > m_arg
SimpleFunction(Function1 func)
From CLHEP/GenericFunctions.
boost::variant< Function1, Function2, Function3 > m_func
Numerical derivative (using GSL adaptive numerical differentiation)
double operator()(double x) const override
const AIDA::IFunction * m_fun
std::vector< double > m_arg
double fun(const std::vector< double > &x)
Adapter2DoubleFunction(Function func)
mandatory macro from CLHEP/GenericFunctions
Adapter3DoubleFunction(Function func)
mandatory macro from CLHEP/GenericFunctions
AttribStringParser::Iterator begin(const AttribStringParser &parser)
double(* Function)(const double, const double, const double)
the actual type of the function "to be adapted"
Genfun::GaudiMathImplementation::Constant Constant
double(* Function2)(const double *)