All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Integral.h
Go to the documentation of this file.
1 // $Id: Integral.h,v 1.2 2004/03/28 18:50:36 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIMATH_INTEGRAL_H
4 #define GAUDIMATH_INTEGRAL_H 1
5 // ============================================================================
6 // Include files
7 // ============================================================================
8 // GaudiKernel
9 // ============================================================================
10 #include "GaudiKernel/StatusCode.h"
11 // ============================================================================
12 // GaudiMath
13 // ============================================================================
14 #include "GaudiMath/Integration.h"
15 // CLHEP
16 // ============================================================================
17 #include "CLHEP/GenericFunctions/AbsFunction.hh"
18 #include "CLHEP/GenericFunctions/AbsFunctional.hh"
19 // ============================================================================
20 
21 namespace GaudiMath
22 {
23 
24  GAUDI_API double Integral
25  ( const Genfun::AbsFunction& function ,
26  const double a ,
27  const double b ,
32  const double epsabs = 1.e-10 ,
33  const double epsrel = 1.e-7 ,
34  const size_t size = 1000 );
35 
36  GAUDI_API double Integral
37  ( const Genfun::AbsFunction& function ,
38  const double a ,
39  const double b ,
40  const std::vector<double>& points ,
41  const double epsabs = 1e-9 ,
42  const double epsrel = 1.e-6 ,
43  const size_t size = 1000 ) ;
44 
45  GAUDI_API double Integral
46  ( const Genfun::AbsFunction& function ,
47  const double a ,
50  const double epsabs = 1e-9 ,
51  const double epsrel = 1.e-6 ,
52  const size_t size = 1000 ) ;
53 
54  GAUDI_API double Integral
55  ( const Genfun::AbsFunction& function ,
57  const double b ,
58  const double epsabs = 1e-9 ,
59  const double epsrel = 1.e-6 ,
60  const size_t size = 1000 ) ;
61 
62  GAUDI_API double Integral
63  ( const Genfun::AbsFunction& function ,
68  const double epsabs = 1e-9 ,
69  const double epsrel = 1.e-6 ,
70  const size_t size = 1000 ) ;
71 
72 }
73 
74 // ============================================================================
75 // The END
76 // ============================================================================
77 #endif // GAUDIMATH_INTEGRAL_H
78 // ============================================================================
string type
Definition: gaudirun.py:126
Type
type of integration (for finite limits)
Definition: Integration.h:27
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:28
KronrodRule
integration rule
Definition: Integration.h:36
#define GAUDI_API
Definition: Kernel.h:108