![]() |
|
|
Generated: 8 Jan 2009 |
00001 // $Id: Adapters.h,v 1.2 2005/11/25 10:27:03 mato Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIMATH_ADAPTERS_H 00004 #define GAUDIMATH_ADAPTERS_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // Local 00009 // ============================================================================ 00010 #include "GaudiMath/FunAdapters.h" 00011 #include "GaudiMath/GSLFunAdapters.h" 00012 // ============================================================================ 00013 00014 00015 namespace GaudiMath 00016 { 00017 typedef Genfun::GaudiMathImplementation::AdapterIFunction 00018 AIDAFunction ; 00019 typedef Genfun::GaudiMathImplementation::Adapter2DoubleFunction 00020 Function2D ; 00021 typedef Genfun::GaudiMathImplementation::Adapter3DoubleFunction 00022 Function3D ; 00023 typedef Genfun::GaudiMathImplementation::SimpleFunction 00024 SimpleFunction ; 00025 00026 typedef Genfun::GaudiMathImplementation::GSLFunctionWithMode 00027 GSLFunctionWithMode ; 00028 typedef Genfun::GaudiMathImplementation::GSLFunctionWithError 00029 GSLFunctionWithError ; 00030 typedef Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError 00031 GSLFunctionWithModeAndError ; 00032 00033 AIDAFunction adapter 00034 ( const AIDA::IFunction& function ) ; 00035 Function2D adapter 00036 ( Function2D::Function function ) ; 00037 Function3D adapter 00038 ( Function3D::Function function ) ; 00039 SimpleFunction adapter 00040 ( SimpleFunction::Function1 function ) ; 00041 SimpleFunction adapter 00042 ( const size_t dim , 00043 SimpleFunction::Function2 function ) ; 00044 SimpleFunction adapter 00045 ( const size_t dim , 00046 SimpleFunction::Function3 function ) ; 00047 GSLFunctionWithMode adapter 00048 ( GSLFunctionWithMode::Function function , 00049 const gsl_mode_t& mode ) ; 00050 GSLFunctionWithError adapter 00051 ( GSLFunctionWithError::Function function ) ; 00052 GSLFunctionWithModeAndError adapter 00053 ( GSLFunctionWithModeAndError::Function function , 00054 const gsl_mode_t& mode ) ; 00055 00056 }; // end of namespace GaudiMath 00057 00058 #endif // GAUDIMATH_ADAPTERS_H 00059 // ============================================================================