master
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
Functions
gslpp_function_adapter.h File Reference
Go to the source code of this file.
Functions
template<class F >
gsl_function
convertToGslFunction
(const F &f)
Function Documentation
◆
convertToGslFunction()
template<class F >
gsl_function convertToGslFunction
(
const F &
f
)
Definition at line
24
of file
gslpp_function_adapter.h
.
25
{
26
gsl_function gslFunction;
27
28
const
void
* p = &f;
29
assert (p != 0);
30
31
gslFunction.function = &gslFunctionAdapter<F>;
32
// Just to eliminate the const.
33
gslFunction.params = const_cast<void*>( p );
34
35
return
gslFunction;
36
}
gslpp
src
gslpp_function_adapter.h
Generated on Thu Oct 31 2019 for $\texttt{HEPfit}$ using
1.8.16