Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012

Integral.h

Go to the documentation of this file.
00001 // $Id: Integral.h,v 1.2 2004/03/28 18:50:36 mato Exp $
00002 // ============================================================================
00003 #ifndef GAUDIMATH_INTEGRAL_H
00004 #define GAUDIMATH_INTEGRAL_H 1
00005 // ============================================================================
00006 // Include files
00007 // ============================================================================
00008 // GaudiKernel
00009 // ============================================================================
00010 #include "GaudiKernel/StatusCode.h"
00011 // ============================================================================
00012 // GaudiMath
00013 // ============================================================================
00014 #include "GaudiMath/Integration.h"
00015 // CLHEP
00016 // ============================================================================
00017 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00018 #include "CLHEP/GenericFunctions/AbsFunctional.hh"
00019 // ============================================================================
00020 
00021 namespace GaudiMath
00022 {
00023 
00024   GAUDI_API double Integral
00025   ( const Genfun::AbsFunction&                 function            ,
00026     const double                               a                   ,
00027     const double                               b                   ,
00028     const GaudiMath::Integration::Type         type     =
00029     GaudiMath::Integration::Adaptive                               ,
00030     const GaudiMath::Integration::KronrodRule  rule     =
00031     GaudiMath::Integration::Default                                ,
00032     const double                               epsabs   = 1.e-10   ,
00033     const double                               epsrel   = 1.e-7    ,
00034     const size_t                               size     = 1000     );
00035 
00036   GAUDI_API double Integral
00037   ( const Genfun::AbsFunction&                 function            ,
00038     const double                               a                   ,
00039     const double                               b                   ,
00040     const std::vector<double>&                 points              ,
00041     const double                               epsabs    = 1e-9    ,
00042     const double                               epsrel    = 1.e-6   ,
00043     const size_t                               size      = 1000    ) ;
00044 
00045   GAUDI_API double Integral
00046   ( const Genfun::AbsFunction&                 function            ,
00047     const double                               a                   ,
00048     const GaudiMath::Integration::Inf          b         =
00049     GaudiMath::Integration::Infinity                               ,
00050     const double                               epsabs    = 1e-9    ,
00051     const double                               epsrel    = 1.e-6   ,
00052     const size_t                               size      = 1000    ) ;
00053 
00054   GAUDI_API double Integral
00055   ( const Genfun::AbsFunction&                 function            ,
00056     const GaudiMath::Integration::Inf          a                   ,
00057     const double                               b                   ,
00058     const double                               epsabs    = 1e-9    ,
00059     const double                               epsrel    = 1.e-6   ,
00060     const size_t                               size      = 1000    ) ;
00061 
00062   GAUDI_API double Integral
00063   ( const Genfun::AbsFunction&                 function            ,
00064     const GaudiMath::Integration::Inf          a         =
00065     GaudiMath::Integration::Infinity                               ,
00066     const GaudiMath::Integration::Inf          b         =
00067     GaudiMath::Integration::Infinity                               ,
00068     const double                               epsabs    = 1e-9    ,
00069     const double                               epsrel    = 1.e-6   ,
00070     const size_t                               size      = 1000    ) ;
00071 
00072 }
00073 
00074 // ============================================================================
00075 // The END
00076 // ============================================================================
00077 #endif // GAUDIMATH_INTEGRAL_H
00078 // ============================================================================
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Sep 17 2012 13:49:29 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004