All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Integral.h
Go to the documentation of this file.
1 #ifndef GAUDIMATH_INTEGRAL_H
2 #define GAUDIMATH_INTEGRAL_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // GaudiKernel
7 // ============================================================================
9 // ============================================================================
10 // GaudiMath
11 // ============================================================================
12 #include "GaudiMath/Integration.h"
13 // CLHEP
14 // ============================================================================
15 #include "CLHEP/GenericFunctions/AbsFunction.hh"
16 #include "CLHEP/GenericFunctions/AbsFunctional.hh"
17 // ============================================================================
18 
19 namespace GaudiMath
20 {
21 
22  GAUDI_API double Integral
23  ( const Genfun::AbsFunction& function ,
24  const double a ,
25  const double b ,
30  const double epsabs = 1.e-10 ,
31  const double epsrel = 1.e-7 ,
32  const size_t size = 1000 );
33 
34  GAUDI_API double Integral
35  ( const Genfun::AbsFunction& function ,
36  const double a ,
37  const double b ,
38  const std::vector<double>& points ,
39  const double epsabs = 1e-9 ,
40  const double epsrel = 1.e-6 ,
41  const size_t size = 1000 ) ;
42 
43  GAUDI_API double Integral
44  ( const Genfun::AbsFunction& function ,
45  const double a ,
48  const double epsabs = 1e-9 ,
49  const double epsrel = 1.e-6 ,
50  const size_t size = 1000 ) ;
51 
52  GAUDI_API double Integral
53  ( const Genfun::AbsFunction& function ,
55  const double b ,
56  const double epsabs = 1e-9 ,
57  const double epsrel = 1.e-6 ,
58  const size_t size = 1000 ) ;
59 
60  GAUDI_API double Integral
61  ( const Genfun::AbsFunction& function ,
66  const double epsabs = 1e-9 ,
67  const double epsrel = 1.e-6 ,
68  const size_t size = 1000 ) ;
69 
70 }
71 
72 // ============================================================================
73 // The END
74 // ============================================================================
75 #endif // GAUDIMATH_INTEGRAL_H
76 // ============================================================================
Type
type of integration (for finite limits)
Definition: Integration.h:25
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
GAUDI_API double Integral(const Genfun::AbsFunction &function, const double a, const double b, const GaudiMath::Integration::Type type=GaudiMath::Integration::Adaptive, const GaudiMath::Integration::KronrodRule rule=GaudiMath::Integration::Default, const double epsabs=1.e-10, const double epsrel=1.e-7, const size_t size=1000)
Definition: Integral.cpp:27
KronrodRule
integration rule
Definition: Integration.h:34
#define GAUDI_API
Definition: Kernel.h:107