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 
27  ( const AIDA::IFunction& function )
28  { return AIDAFunction( function ) ; }
29 
31  ( Function2D::Function function )
32  { return Function2D ( function ) ; }
33 
35  ( Function3D::Function function )
36  { return Function3D ( function ) ; }
37 
40  { return SimpleFunction ( function ) ; }
41 
43  ( const size_t dim ,
44  SimpleFunction::Function2 function )
45  { return SimpleFunction ( function , dim ) ; }
46 
48  ( const size_t dim ,
49  SimpleFunction::Function3 function )
50  { return SimpleFunction ( function , dim ) ; }
51 
54  const gsl_mode_t& mode )
55  { return GSLFunctionWithMode ( function , mode ) ; }
56 
59  { return GSLFunctionWithError ( function ) ; }
60 
63  const gsl_mode_t& mode )
64  { return GSLFunctionWithModeAndError ( function , mode ) ; }
65 
66 
67 } // end of namespace GaudiMath
68 // ============================================================================
69 // The END
70 // ============================================================================
Genfun::GaudiMathImplementation::GSLFunctionWithMode GSLFunctionWithMode
Definition: Adapters.h:25
Genfun::GaudiMathImplementation::GSLFunctionWithError GSLFunctionWithError
Definition: Adapters.h:27
Genfun::GaudiMathImplementation::Adapter3DoubleFunction Function3D
Definition: Adapters.h:20
double(* Function)(double, gsl_mode_t)
the actual type of the function
mandatory macro from CLHEP/GenericFunctions
Definition: FunAdapters.h:216
int(* Function)(double, gsl_sf_result *)
the actual type of the function
Genfun::GaudiMathImplementation::Adapter2DoubleFunction Function2D
Definition: Adapters.h:18
mandatory macro from CLHEP/GenericFunctions
Definition: FunAdapters.h:101
mandatory macro from CLHEP/GenericFunctions
mandatory macro from CLHEP/GenericFunctions
Definition: FunAdapters.h:166
Genfun::GaudiMathImplementation::GSLFunctionWithModeAndError GSLFunctionWithModeAndError
Definition: Adapters.h:29
GAUDI_API AIDAFunction adapter(const AIDA::IFunction &function)
Definition: Adapters.cpp:27
GaudiMath.h GaudiMath/GaudiMath.h.
Definition: Adapters.h:13
double(* Function3)(const std::vector< double > &)
Definition: FunAdapters.h:221
double(* Function)(const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:105
double(* Function)(const double, const double, const double)
the actual type of the function "to be adapted"
Definition: FunAdapters.h:170
Genfun::GaudiMathImplementation::SimpleFunction SimpleFunction
Definition: Adapters.h:22
mandatory macro from CLHEP/GenericFunctions
Genfun::GaudiMathImplementation::AdapterIFunction AIDAFunction
Definition: Adapters.h:16
int(* Function)(double, gsl_mode_t, gsl_sf_result *)
the actual type of the function