1 #ifndef GAUDIMATH_NUMERICALDERIVATIVE_H
2 #define GAUDIMATH_NUMERICALDERIVATIVE_H 1
12 #include "CLHEP/GenericFunctions/AbsFunction.hh"
17 namespace GaudiMathImplementation
84 ( const AbsFunction& function ,
96 virtual
unsigned int dimensionality()
const {
return m_DIM ; }
99 virtual double operator() (
double argument )
const ;
101 virtual double operator() (
const Argument& argument )
const ;
107 virtual Derivative partial (
unsigned int index )
const;
112 const AbsFunction&
function ()
const {
return *m_function ; }
114 size_t index ()
const {
return m_index ; }
122 double result ()
const {
return m_result ; }
124 double error ()
const {
return m_error ; }
156 #endif // GAUDIMATH_NUMERICALDERIVATIVE_H
size_t index() const
index
double error() const
the absolute error estimate for the last call
const Type & type() const
type
Type
the type of numerical differentiation
std::unique_ptr< const AbsFunction > m_function
Genfun::GaudiMathImplementation::NumericalDerivative Derivative
This class is used for returning status codes from appropriate routines.
Numerical derivative (using GSL adaptive numerical differentiation)
virtual bool hasAnalyticDerivative() const
Does this function have an analytic derivative?
Type
the list of available types for ntuples
double result() const
the result of the last call