| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 // ============================================================================
8 #include "GaudiKernel/StatusCode.h"
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 ,
26 const GaudiMath::Integration::Type type =
27 GaudiMath::Integration::Adaptive ,
28 const GaudiMath::Integration::KronrodRule rule =
29 GaudiMath::Integration::Default ,
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 ,
46 const GaudiMath::Integration::Inf b =
47 GaudiMath::Integration::Infinity ,
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 ,
54 const GaudiMath::Integration::Inf a ,
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 ,
62 const GaudiMath::Integration::Inf a =
63 GaudiMath::Integration::Infinity ,
64 const GaudiMath::Integration::Inf b =
65 GaudiMath::Integration::Infinity ,
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 // ============================================================================
GaudiMath::Integration::Inf
Inf
infinity
Definition: Integration.h:20
GaudiMath::Integration::Infinity
Definition: Integration.h:20
GaudiMath::Integration::Adaptive
Definition: Integration.h:26
Integration.h
GaudiMath::Integration::Type
Type
type of integration (for finite limits)
Definition: Integration.h:25
gaudirun.type
type
Definition: gaudirun.py:125
GaudiMath::Integration::Default
Definition: Integration.h:41
std::vector< double >
GaudiMath
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
GaudiMath::Integral
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
GaudiMath::Integration::KronrodRule
KronrodRule
integration rule
Definition: Integration.h:34
StatusCode.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107