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 );
double(* GSLMonteFuncPointer)(double *, size_t, void *)
Class for adapting any multi-dimension C++ functor class to C function pointers used by GSL MonteCarl...
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
static double F(double *x, size_t, void *p)