Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:22:00

0001 // @(#)root/mathmore:$Id$
0002 // Author: Magdalena Slawinska  10/2007
0003 
0004  /**********************************************************************
0005   *                                                                    *
0006   * Copyright (c) 2007 ROOT Foundation,  CERN/PH-SFT                   *
0007   *                                                                    *
0008   *                                                                    *
0009   **********************************************************************/
0010 
0011 
0012 // Integration types for
0013 // one and multidimensional integration
0014 // with a common interface
0015 
0016 #ifndef ROOT_Math_AllIntegrationTypes
0017 #define ROOT_Math_AllIntegrationTypes
0018 
0019 
0020 namespace ROOT {
0021 namespace Math {
0022 
0023 
0024     // type of integration
0025 
0026 
0027     //for 1-dim integration
0028   namespace IntegrationOneDim {
0029 
0030      /// enumeration specifying the integration types.
0031      /// @ingroup Integration
0032      enum Type {
0033         kDEFAULT = -1,     ///< default type specified in the static options
0034         kGAUSS,            ///< simple Gauss integration method with fixed rule
0035         kLEGENDRE,         ///< Gauss-Legendre integration
0036         kADAPTIVE,         ///< to be used for general functions without singularities
0037         kADAPTIVESINGULAR, ///< default adaptive integration type which can be used in the case of the presence of singularities.
0038         kNONADAPTIVE       ///< to be used for smooth functions
0039      };
0040   }
0041 
0042     //for multi-dim integration
0043   namespace IntegrationMultiDim {
0044 
0045      /// enumeration specifying the integration types.
0046      /// @ingroup MCIntegration
0047      enum Type {
0048         kDEFAULT = -1, ///< default type specified in the static option
0049         kADAPTIVE,     ///< adaptive multi-dimensional integration
0050         kVEGAS,        ///< MC integration
0051         kMISER,        ///< MC integration
0052         kPLAIN         ///< MC integration
0053      };
0054   }
0055 
0056 
0057 } // namespace Math
0058 } // namespace ROOT
0059 
0060 #endif /* ROOT_Math_AllIntegrationTypes */