Logo ROOT  
Reference Guide
AllIntegrationTypes.h
Go to the documentation of this file.
1 // @(#)root/mathmore:$Id$
2 // Author: Magdalena Slawinska 10/2007
3 
4  /**********************************************************************
5  * *
6  * Copyright (c) 2007 ROOT Foundation, CERN/PH-SFT *
7  * *
8  * *
9  **********************************************************************/
10 
11 
12 // Integration types for
13 // one and multidimensional integration
14 // eith a common interface
15 
16 #ifndef ROOT_Math_AllIntegrationTypes
17 #define ROOT_Math_AllIntegrationTypes
18 
19 
20 namespace ROOT {
21 namespace Math {
22 
23 
24  // type of integration
25 
26 
27  //for 1-dim integration
28  namespace IntegrationOneDim {
29 
30  /// enumeration specifying the integration types.
31  /// @ingroup Integration
32  enum Type {
33  kDEFAULT = -1, ///< default type specifiend in the static options
34  kGAUSS, ///< simple Gauss integration method with fixed rule
35  kLEGENDRE, ///< Gauss-Legendre integration
36  kADAPTIVE, ///< to be used for general functions without singularities
37  kADAPTIVESINGULAR, ///< default adaptive integration type which can be used in the case of the presence of singularities.
38  kNONADAPTIVE ///< to be used for smooth functions
39  };
40  }
41 
42  //for multi-dim integration
43  namespace IntegrationMultiDim {
44 
45  /// enumeration specifying the integration types.
46  /// @ingroup MCIntegration
47  enum Type {
48  kDEFAULT = -1, ///< default type specified in the static option
49  kADAPTIVE, ///< adaptive multi-dimensional integration
50  kVEGAS, ///< MC integration
51  kMISER, ///< MC integration
52  kPLAIN ///< MC integration
53  };
54  }
55 
56 
57 } // namespace Math
58 } // namespace ROOT
59 
60 #endif /* ROOT_Math_AllIntegrationTypes */
ROOT::Math::IntegrationMultiDim::kMISER
@ kMISER
MC integration.
Definition: AllIntegrationTypes.h:51
ROOT::Math::IntegrationMultiDim::kPLAIN
@ kPLAIN
MC integration.
Definition: AllIntegrationTypes.h:52
ROOT::Math::IntegrationMultiDim::kDEFAULT
@ kDEFAULT
default type specified in the static option
Definition: AllIntegrationTypes.h:48
ROOT::Math::IntegrationOneDim::Type
Type
enumeration specifying the integration types.
Definition: AllIntegrationTypes.h:32
ROOT::Math::IntegrationOneDim::kADAPTIVESINGULAR
@ kADAPTIVESINGULAR
default adaptive integration type which can be used in the case of the presence of singularities.
Definition: AllIntegrationTypes.h:37
ROOT::Math::IntegrationMultiDim::kADAPTIVE
@ kADAPTIVE
adaptive multi-dimensional integration
Definition: AllIntegrationTypes.h:49
ROOT::Math::IntegrationOneDim::kDEFAULT
@ kDEFAULT
default type specifiend in the static options
Definition: AllIntegrationTypes.h:33
ROOT::Math::IntegrationMultiDim::Type
Type
enumeration specifying the integration types.
Definition: AllIntegrationTypes.h:47
ROOT::Math::IntegrationMultiDim::kVEGAS
@ kVEGAS
MC integration.
Definition: AllIntegrationTypes.h:50
ROOT::Math::IntegrationOneDim::kGAUSS
@ kGAUSS
simple Gauss integration method with fixed rule
Definition: AllIntegrationTypes.h:34
ROOT::Math::IntegrationOneDim::kLEGENDRE
@ kLEGENDRE
Gauss-Legendre integration.
Definition: AllIntegrationTypes.h:35
ROOT::Math::IntegrationOneDim::kADAPTIVE
@ kADAPTIVE
to be used for general functions without singularities
Definition: AllIntegrationTypes.h:36
ROOT::Math::IntegrationOneDim::kNONADAPTIVE
@ kNONADAPTIVE
to be used for smooth functions
Definition: AllIntegrationTypes.h:38
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4
Math
Namespace for new Math classes and functions.