Adapters.h
Go to the documentation of this file.
1 #ifndef GAUDIMATH_ADAPTERS_H
2 #define GAUDIMATH_ADAPTERS_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // Local
7 // ============================================================================
8 #include "GaudiMath/FunAdapters.h"
9 #include "GaudiMath/GSLFunAdapters.h"
10 // ============================================================================
11 #include "GaudiKernel/Kernel.h"
12 
13 namespace GaudiMath
14 {
16  AIDAFunction ;
18  Function2D ;
20  Function3D ;
23 
30 
31  GAUDI_API AIDAFunction adapter
32  ( const AIDA::IFunction& function ) ;
33  GAUDI_API Function2D adapter
34  ( Function2D::Function function ) ;
35  GAUDI_API Function3D adapter
36  ( Function3D::Function function ) ;
37  GAUDI_API SimpleFunction adapter
38  ( SimpleFunction::Function1 function ) ;
39  GAUDI_API SimpleFunction adapter
40  ( const size_t dim ,
41  SimpleFunction::Function2 function ) ;
42  GAUDI_API SimpleFunction adapter
43  ( const size_t dim ,
44  SimpleFunction::Function3 function ) ;
45  GAUDI_API GSLFunctionWithMode adapter
47  const gsl_mode_t& mode ) ;
48  GAUDI_API GSLFunctionWithError adapter
49  ( GSLFunctionWithError::Function function ) ;
50  GAUDI_API GSLFunctionWithModeAndError adapter
52  const gsl_mode_t& mode ) ;
53 
54 } // end of namespace GaudiMath
55 
56 #endif // GAUDIMATH_ADAPTERS_H
57 // ============================================================================
Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode
Definition: Adapters.h:25
Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError
Definition: Adapters.h:27
Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D
Definition: Adapters.h:20
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
Definition: Adapters.cpp:27
#define GAUDI_API
Definition: Kernel.h:107
double(* Function)(double, gsl_mode_t)
the actual type of the function
int(* Function)(double, gsl_sf_result *)
the actual type of the function
Genfun::GaudiMathImplementation::Adapter2DoubleFunction Function2D
Definition: Adapters.h:18
constructor from the trivial function with two argument
Definition: FunAdapters.h:91
constructor from the trivial function with two argument
Definition: FunAdapters.h:154
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError GSLFunctionWithModeAndError
Definition: Adapters.h:29
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
double(* Function3)(const std::vector< double > &)
Definition: FunAdapters.h:207
double(* Function)(const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:95
double(* Function)(const double, const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:158
Genfun::GaudiMathImplementation::SimpleFunction SimpleFunction
Definition: Adapters.h:22
Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction
Definition: Adapters.h:16
int(* Function)(double, gsl_mode_t, gsl_sf_result *)
the actual type of the function
constructor from the IFunction ( see AIDA/IFunction.h)
Definition: FunAdapters.h:31