Adapters.h
Go to the documentation of this file.
1 // $Id: Adapters.h,v 1.2 2005/11/25 10:27:03 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIMATH_ADAPTERS_H
4 #define GAUDIMATH_ADAPTERS_H 1
5 // ============================================================================
6 // Include files
7 // ============================================================================
8 // Local
9 // ============================================================================
10 #include "GaudiMath/FunAdapters.h"
11 #include "GaudiMath/GSLFunAdapters.h"
12 // ============================================================================
13 #include "GaudiKernel/Kernel.h"
14 
15 namespace GaudiMath
16 {
18  AIDAFunction ;
20  Function2D ;
22  Function3D ;
25 
32 
33  GAUDI_API AIDAFunction adapter
34  ( const AIDA::IFunction& function ) ;
35  GAUDI_API Function2D adapter
36  ( Function2D::Function function ) ;
37  GAUDI_API Function3D adapter
38  ( Function3D::Function function ) ;
39  GAUDI_API SimpleFunction adapter
40  ( SimpleFunction::Function1 function ) ;
41  GAUDI_API SimpleFunction adapter
42  ( const size_t dim ,
43  SimpleFunction::Function2 function ) ;
44  GAUDI_API SimpleFunction adapter
45  ( const size_t dim ,
46  SimpleFunction::Function3 function ) ;
47  GAUDI_API GSLFunctionWithMode adapter
49  const gsl_mode_t& mode ) ;
50  GAUDI_API GSLFunctionWithError adapter
51  ( GSLFunctionWithError::Function function ) ;
52  GAUDI_API GSLFunctionWithModeAndError adapter
54  const gsl_mode_t& mode ) ;
55 
56 } // end of namespace GaudiMath
57 
58 #endif // GAUDIMATH_ADAPTERS_H
59 // ============================================================================
Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode
Definition: Adapters.h:27
Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError
Definition: Adapters.h:29
Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D
Definition: Adapters.h:22
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
Definition: Adapters.cpp:28
#define GAUDI_API
Definition: Kernel.h:108
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:20
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:31
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:15
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:24
Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction
Definition: Adapters.h:18
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