Integral.h
Go to the documentation of this file.00001
00002
00003 #ifndef GAUDIMATH_INTEGRAL_H
00004 #define GAUDIMATH_INTEGRAL_H 1
00005
00006
00007
00008
00009
00010 #include "GaudiKernel/StatusCode.h"
00011
00012
00013
00014 #include "GaudiMath/Integration.h"
00015
00016
00017 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00018 #include "CLHEP/GenericFunctions/AbsFunctional.hh"
00019
00020
00021 namespace GaudiMath
00022 {
00023
00024 GAUDI_API double Integral
00025 ( const Genfun::AbsFunction& function ,
00026 const double a ,
00027 const double b ,
00028 const GaudiMath::Integration::Type type =
00029 GaudiMath::Integration::Adaptive ,
00030 const GaudiMath::Integration::KronrodRule rule =
00031 GaudiMath::Integration::Default ,
00032 const double epsabs = 1.e-10 ,
00033 const double epsrel = 1.e-7 ,
00034 const size_t size = 1000 );
00035
00036 GAUDI_API double Integral
00037 ( const Genfun::AbsFunction& function ,
00038 const double a ,
00039 const double b ,
00040 const std::vector<double>& points ,
00041 const double epsabs = 1e-9 ,
00042 const double epsrel = 1.e-6 ,
00043 const size_t size = 1000 ) ;
00044
00045 GAUDI_API double Integral
00046 ( const Genfun::AbsFunction& function ,
00047 const double a ,
00048 const GaudiMath::Integration::Inf b =
00049 GaudiMath::Integration::Infinity ,
00050 const double epsabs = 1e-9 ,
00051 const double epsrel = 1.e-6 ,
00052 const size_t size = 1000 ) ;
00053
00054 GAUDI_API double Integral
00055 ( const Genfun::AbsFunction& function ,
00056 const GaudiMath::Integration::Inf a ,
00057 const double b ,
00058 const double epsabs = 1e-9 ,
00059 const double epsrel = 1.e-6 ,
00060 const size_t size = 1000 ) ;
00061
00062 GAUDI_API double Integral
00063 ( const Genfun::AbsFunction& function ,
00064 const GaudiMath::Integration::Inf a =
00065 GaudiMath::Integration::Infinity ,
00066 const GaudiMath::Integration::Inf b =
00067 GaudiMath::Integration::Infinity ,
00068 const double epsabs = 1e-9 ,
00069 const double epsrel = 1.e-6 ,
00070 const size_t size = 1000 ) ;
00071
00072 }
00073
00074
00075
00076
00077 #endif // GAUDIMATH_INTEGRAL_H
00078