Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
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  GAUDI_API double Integral( const Genfun::AbsFunction& function, const double a, const double b,
24  const double epsabs = 1.e-10, const double epsrel = 1.e-7, const size_t size = 1000 );
25 
26  GAUDI_API double Integral( const Genfun::AbsFunction& function, const double a, const double b,
27  const std::vector<double>& points, const double epsabs = 1e-9, const double epsrel = 1.e-6,
28  const size_t size = 1000 );
29 
30  GAUDI_API double Integral( const Genfun::AbsFunction& function, const double a,
32  const double epsabs = 1e-9, const double epsrel = 1.e-6, const size_t size = 1000 );
33 
34  GAUDI_API double Integral( const Genfun::AbsFunction& function, const GaudiMath::Integration::Inf a, const double b,
35  const double epsabs = 1e-9, const double epsrel = 1.e-6, const size_t size = 1000 );
36 
37  GAUDI_API double Integral( const Genfun::AbsFunction& function,
40  const double epsabs = 1e-9, const double epsrel = 1.e-6, const size_t size = 1000 );
41 } // namespace GaudiMath
42 
43 // ============================================================================
44 // The END
45 // ============================================================================
46 #endif // GAUDIMATH_INTEGRAL_H
constexpr auto size(const C &c) noexcept(noexcept(c.size())) -> decltype(c.size())
Type
type of integration (for finite limits)
Definition: Integration.h:22
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:25
KronrodRule
integration rule
Definition: Integration.h:26
#define GAUDI_API
Definition: Kernel.h:71