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