| The Gaudi Framework v27r1

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

- File List
- File Members

Adapters.cpp
Go to the documentation of this file.
1 // ============================================================================
2 // Include files
3 // ============================================================================
4 // STD & STL
5 // ============================================================================
6 #include <iostream>
7 // ============================================================================
8 // AIDA
9 // ============================================================================
10 #include "AIDA/IFunction.h"
11 // ============================================================================
12 // local
13 // ============================================================================
14 #include "GaudiMath/Adapters.h"
15 // ============================================================================
16
23 namespace GaudiMath
24 {
25
26 AIDAFunction adapter
27 ( const AIDA::IFunction& function )
28 { return AIDAFunction( function ) ; }
29
30 Function2D adapter
31 ( Function2D::Function function )
32 { return Function2D ( function ) ; }
33
34 Function3D adapter
35 ( Function3D::Function function )
36 { return Function3D ( function ) ; }
37
38 SimpleFunction adapter
39 ( SimpleFunction::Function1 function )
40 { return SimpleFunction ( function ) ; }
41
42 SimpleFunction adapter
43 ( const size_t dim ,
44 SimpleFunction::Function2 function )
45 { return SimpleFunction ( function , dim ) ; }
46
47 SimpleFunction adapter
48 ( const size_t dim ,
49 SimpleFunction::Function3 function )
50 { return SimpleFunction ( function , dim ) ; }
51
52 GSLFunctionWithMode adapter
53 ( GSLFunctionWithMode::Function function ,
54 const gsl_mode_t& mode )
55 { return GSLFunctionWithMode ( function , mode ) ; }
56
57 GSLFunctionWithError adapter
58 ( GSLFunctionWithError::Function function )
59 { return GSLFunctionWithError ( function ) ; }
60
61 GSLFunctionWithModeAndError adapter
62 ( GSLFunctionWithModeAndError::Function function ,
63 const gsl_mode_t& mode )
64 { return GSLFunctionWithModeAndError ( function , mode ) ; }
65
66
67 } // end of namespace GaudiMath
68 // ============================================================================
69 // The END
70 // ============================================================================
GaudiMath::GSLFunctionWithMode
Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode
Definition: Adapters.h:25
GaudiMath::GSLFunctionWithError
Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError
Definition: Adapters.h:27
GaudiMath::Function3D
Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D
Definition: Adapters.h:20
Genfun::GaudiMathImplementation::SimpleFunction::Function1
double(* Function1)(const double)
Definition: FunAdapters.h:205
Genfun::GaudiMathImplementation::GSLFunctionWithMode::Function
double(* Function)(double, gsl_mode_t)
the actual type of the function
Definition: GSLFunAdapters.h:74
Genfun::GaudiMathImplementation::GSLFunctionWithError::Function
int(* Function)(double, gsl_sf_result *)
the actual type of the function
Definition: GSLFunAdapters.h:36
GaudiMath::Function2D
Genfun::GaudiMathImplementation::Adapter2DoubleFunction Function2D
Definition: Adapters.h:18
GaudiMath::GSLFunctionWithModeAndError
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError GSLFunctionWithModeAndError
Definition: Adapters.h:29
GaudiMath::adapter
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
Definition: Adapters.cpp:27
Genfun::GaudiMathImplementation::SimpleFunction::Function2
double(* Function2)(const double *)
Definition: FunAdapters.h:206
Adapters.h
GaudiMath
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
Genfun::GaudiMathImplementation::SimpleFunction::Function3
double(* Function3)(const std::vector< double > &)
Definition: FunAdapters.h:207
Genfun::GaudiMathImplementation::Adapter2DoubleFunction::Function
double(* Function)(const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:95
Genfun::GaudiMathImplementation::Adapter3DoubleFunction::Function
double(* Function)(const double, const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:158
GaudiMath::SimpleFunction
Genfun::GaudiMathImplementation::SimpleFunction SimpleFunction
Definition: Adapters.h:22
GaudiMath::AIDAFunction
Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction
Definition: Adapters.h:16
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError::Function
int(* Function)(double, gsl_mode_t, gsl_sf_result *)
the actual type of the function
Definition: GSLFunAdapters.h:110