Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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// with a common interface
15
16#ifndef ROOT_Math_AllIntegrationTypes
17#define ROOT_Math_AllIntegrationTypes
18
19
20namespace ROOT {
21namespace 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 specified 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 */
Type
enumeration specifying the integration types.
@ kADAPTIVESINGULAR
default adaptive integration type which can be used in the case of the presence of singularities.
@ kNONADAPTIVE
to be used for smooth functions
@ kLEGENDRE
Gauss-Legendre integration.
@ kADAPTIVE
to be used for general functions without singularities
@ kGAUSS
simple Gauss integration method with fixed rule
@ kDEFAULT
default type specified in the static options
Type
enumeration specifying the integration types.
@ kADAPTIVE
adaptive multi-dimensional integration
@ kDEFAULT
default type specified in the static option
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.