| The Gaudi Framework v29r0 (ff2e7097)

- 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( const Genfun::AbsFunction& function, const double a, const double b,
23 const GaudiMath::Integration::Type type = GaudiMath::Integration::Adaptive,
24 const GaudiMath::Integration::KronrodRule rule = GaudiMath::Integration::Default,
25 const double epsabs = 1.e-10, const double epsrel = 1.e-7, const size_t size = 1000 );
26
27 GAUDI_API double Integral( const Genfun::AbsFunction& function, const double a, const double b,
28 const std::vector<double>& points, const double epsabs = 1e-9, const double epsrel = 1.e-6,
29 const size_t size = 1000 );
30
31 GAUDI_API double Integral( const Genfun::AbsFunction& function, const double a,
32 const GaudiMath::Integration::Inf b = GaudiMath::Integration::Infinity,
33 const double epsabs = 1e-9, const double epsrel = 1.e-6, const size_t size = 1000 );
34
35 GAUDI_API double Integral( const Genfun::AbsFunction& function, const GaudiMath::Integration::Inf a, const double b,
36 const double epsabs = 1e-9, const double epsrel = 1.e-6, const size_t size = 1000 );
37
38 GAUDI_API double Integral( const Genfun::AbsFunction& function,
39 const GaudiMath::Integration::Inf a = GaudiMath::Integration::Infinity,
40 const GaudiMath::Integration::Inf b = GaudiMath::Integration::Infinity,
41 const double epsabs = 1e-9, const double epsrel = 1.e-6, const size_t size = 1000 );
42 }
43
44 // ============================================================================
45 // The END
46 // ============================================================================
47 #endif // GAUDIMATH_INTEGRAL_H
48 // ============================================================================
GaudiMath::Integration::Inf
Inf
infinity
Definition: Integration.h:20
GaudiMath::Integration::Infinity
Definition: Integration.h:20
GaudiMath::Integration::Adaptive
Definition: Integration.h:24
Integration.h
GaudiMath::Integration::Type
Type
type of integration (for finite limits)
Definition: Integration.h:24
gaudirun.type
type
Definition: gaudirun.py:133
GaudiMath::Integration::Default
Definition: Integration.h:36
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:26
GaudiMath::Integration::KronrodRule
KronrodRule
integration rule
Definition: Integration.h:28
StatusCode.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110