The Gaudi Framework  v29r0 (ff2e7097)
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( const Genfun::AbsFunction& function, const double a, const double b,
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,
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,
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 // ============================================================================
Type
type of integration (for finite limits)
Definition: Integration.h:24
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:26
KronrodRule
integration rule
Definition: Integration.h:28
#define GAUDI_API
Definition: Kernel.h:110