All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Adapters.cpp
Go to the documentation of this file.
1 // $Id: Adapters.cpp,v 1.1 2004/03/28 18:50:36 mato Exp $
2 // ============================================================================
3 // Include files
4 // ============================================================================
5 // STD & STL
6 // ============================================================================
7 #include <iostream>
8 // ============================================================================
9 // AIDA
10 // ============================================================================
11 #include "AIDA/IFunction.h"
12 // ============================================================================
13 // local
14 // ============================================================================
15 #include "GaudiMath/Adapters.h"
16 // ============================================================================
17 
24 namespace GaudiMath
25 {
26 
28  ( const AIDA::IFunction& function )
29  { return AIDAFunction( function ) ; }
30 
32  ( Function2D::Function function )
33  { return Function2D ( function ) ; }
34 
36  ( Function3D::Function function )
37  { return Function3D ( function ) ; }
38 
41  { return SimpleFunction ( function ) ; }
42 
44  ( const size_t dim ,
45  SimpleFunction::Function2 function )
46  { return SimpleFunction ( function , dim ) ; }
47 
49  ( const size_t dim ,
50  SimpleFunction::Function3 function )
51  { return SimpleFunction ( function , dim ) ; }
52 
55  const gsl_mode_t& mode )
56  { return GSLFunctionWithMode ( function , mode ) ; }
57 
60  { return GSLFunctionWithError ( function ) ; }
61 
64  const gsl_mode_t& mode )
65  { return GSLFunctionWithModeAndError ( function , mode ) ; }
66 
67 
68 } // end of namespace GaudiMath
69 // ============================================================================
70 // The END
71 // ============================================================================
double(* Function)(const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:95
Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode
Definition: Adapters.h:27
Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError
Definition: Adapters.h:29
Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D
Definition: Adapters.h:22
int(* Function)(double, gsl_mode_t, gsl_sf_result *)
the actual type of the function
Genfun::GaudiMathImplementation::Adapter2DoubleFunction Function2D
Definition: Adapters.h:20
double(* Function3)(const std::vector< double > &)
Definition: FunAdapters.h:207
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError GSLFunctionWithModeAndError
Definition: Adapters.h:31
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
Definition: Adapters.cpp:28
double(* Function)(double, gsl_mode_t)
the actual type of the function
Genfun::GaudiMathImplementation::SimpleFunction SimpleFunction
Definition: Adapters.h:24
double(* Function)(const double, const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:158
Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction
Definition: Adapters.h:18
int(* Function)(double, gsl_sf_result *)
the actual type of the function