11 #include "GaudiMath/GaudiMath.h"
12 #include "GaudiKernel/SystemOfUnits.h"
16 #include "CLHEP/GenericFunctions/Sin.hh"
17 #include "CLHEP/GenericFunctions/Cos.hh"
21 using namespace CLHEP;
37 " Test for numerical differentiation of Genfun::Cos(x) " << std::endl ;
45 double value = mysin ( x ) ;
46 double error = mysin.
error() ;
47 printf(
"x=%8.3f deg; I(Cos)=%+.19f; ActErr=%+.19f; EstErr=%+.19f;\n",
double error() const
evaluate of previous error
Genfun::GaudiMathImplementation::NumericalIndefiniteIntegral IndIntegral
The simple class for numerical integrations.