| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
15 typedef Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction;
16 typedef Genfun::GaudiMathImplementation::Adapter2DoubleFunction Function2D;
17 typedef Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D;
18 typedef Genfun::GaudiMathImplementation::SimpleFunction SimpleFunction;
19
20 typedef Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode;
21 typedef Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError;
22 typedef Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError GSLFunctionWithModeAndError;
23
24 GAUDI_API AIDAFunction adapter( const AIDA::IFunction& function );
25 GAUDI_API Function2D adapter( Function2D::Function function );
26 GAUDI_API Function3D adapter( Function3D::Function function );
27 GAUDI_API SimpleFunction adapter( SimpleFunction::Function1 function );
28 GAUDI_API SimpleFunction adapter( const size_t dim, SimpleFunction::Function2 function );
29 GAUDI_API SimpleFunction adapter( const size_t dim, SimpleFunction::Function3 function );
30 GAUDI_API GSLFunctionWithMode adapter( GSLFunctionWithMode::Function function, const gsl_mode_t& mode );
31 GAUDI_API GSLFunctionWithError adapter( GSLFunctionWithError::Function function );
32 GAUDI_API GSLFunctionWithModeAndError adapter( GSLFunctionWithModeAndError::Function function,
33 const gsl_mode_t& mode );
34
35 } // end of namespace GaudiMath
36
37 #endif // GAUDIMATH_ADAPTERS_H
38 // ============================================================================
Genfun::GaudiMathImplementation::Adapter2DoubleFunction::Function
double(* Function)(const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:163
GaudiMath::GSLFunctionWithMode
Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode
Definition: Adapters.h:20
Kernel.h
GaudiMath::GSLFunctionWithError
Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError
Definition: Adapters.h:21
GaudiMath::Function3D
Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D
Definition: Adapters.h:17
Genfun::GaudiMathImplementation::SimpleFunction::Function3
double(* Function3)(const std::vector< double > &)
Definition: FunAdapters.h:273
Genfun::GaudiMathImplementation::GSLFunctionWithMode::Function
double(* Function)(double, gsl_mode_t)
the actual type of the function
Definition: GSLFunAdapters.h:87
Genfun::GaudiMathImplementation::SimpleFunction
mandatory macro from CLHEP/GenericFunctions
Definition: FunAdapters.h:268
GaudiMath::Function2D
Genfun::GaudiMathImplementation::Adapter2DoubleFunction Function2D
Definition: Adapters.h:16
Genfun::GaudiMathImplementation::Adapter2DoubleFunction
mandatory macro from CLHEP/GenericFunctions
Definition: FunAdapters.h:159
FunAdapters.h
Genfun::GaudiMathImplementation::GSLFunctionWithMode
mandatory macro from CLHEP/GenericFunctions
Definition: GSLFunAdapters.h:83
Genfun::GaudiMathImplementation::SimpleFunction::Function1
double(* Function1)(const double)
Definition: FunAdapters.h:271
GSLFunAdapters.h
Genfun::GaudiMathImplementation::Adapter3DoubleFunction
mandatory macro from CLHEP/GenericFunctions
Definition: FunAdapters.h:222
GaudiMath::GSLFunctionWithModeAndError
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError GSLFunctionWithModeAndError
Definition: Adapters.h:22
GaudiMath::adapter
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
Definition: Adapters.cpp:25
GaudiMath
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
GaudiMath::SimpleFunction
Genfun::GaudiMathImplementation::SimpleFunction SimpleFunction
Definition: Adapters.h:18
Genfun::GaudiMathImplementation::GSLFunctionWithError::Function
int(* Function)(double, gsl_sf_result *)
the actual type of the function
Definition: GSLFunAdapters.h:44
Genfun::GaudiMathImplementation::GSLFunctionWithError
Definition: GSLFunAdapters.h:40
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError
mandatory macro from CLHEP/GenericFunctions
Definition: GSLFunAdapters.h:123
Genfun::GaudiMathImplementation::Adapter3DoubleFunction::Function
double(* Function)(const double, const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:226
GaudiMath::AIDAFunction
Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction
Definition: Adapters.h:15
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError::Function
int(* Function)(double, gsl_mode_t, gsl_sf_result *)
the actual type of the function
Definition: GSLFunAdapters.h:127
Genfun::GaudiMathImplementation::SimpleFunction::Function2
double(* Function2)(const double *)
Definition: FunAdapters.h:272
Genfun::GaudiMathImplementation::AdapterIFunction
constructor from the IFunction ( see AIDA/IFunction.h)
Definition: FunAdapters.h:101