1 #ifndef GAUDIMATH_CONSTANT_H
2 #define GAUDIMATH_CONSTANT_H 1
8 #include "CLHEP/GenericFunctions/AbsFunction.hh"
10 #include "GaudiKernel/Kernel.h"
14 namespace GaudiMathImplementation
48 virtual
unsigned int dimensionality ()
const {
return m_DIM ; }
50 virtual bool hasAnalyticDerivative ()
const {
return true ; }
52 virtual double operator() (
double )
const {
return m_value ; }
54 virtual double operator() (
const Argument& )
const {
return m_value ; }
56 virtual Derivative partial (
unsigned int i )
const ;
78 #endif // GAUDIMATH_CONSTANT_H
Genfun::GaudiMathImplementation::NumericalDerivative Derivative
Genfun::GaudiMathImplementation::Constant Constant