34 #ifndef ROOT_Math_GSLMonteFunctionAdapter 35 #define ROOT_Math_GSLMonteFunctionAdapter 58 template<
class UserFunc>
61 static double F(
double *
x,
size_t,
void * p) {
63 UserFunc *
function =
reinterpret_cast< UserFunc *
> (p);
64 return (*
function)(
x );
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
static double F(double *x, size_t, void *p)
Namespace for new Math classes and functions.
double(* GSLMonteFuncPointer)(double *, size_t, void *)
Class for adapting any multi-dimension C++ functor class to C function pointers used by GSL MonteCarl...