31#ifndef ROOT_Math_GSLMonteFunctionWrapper
32#define ROOT_Math_GSLMonteFunctionWrapper
34#include "gsl/gsl_monte.h"
35#include "gsl/gsl_multimin.h"
73 template<
class FuncType>
85 double operator() (
const double *
x) {
return GSL_MONTE_FN_EVAL(&
fFunc,
const_cast<double *
>(
x) ); }
wrapper to a multi-dim function withtout derivatives for Monte Carlo multi-dimensional integration al...
gsl_monte_function * GetFunc()
GSLMonteFunctionWrapper()
void SetFunction(const FuncType &f)
Fill gsl function structure from a C++ Function class.
double operator()(const double *x)
evaluate the function and derivatives
void SetDim(unsigned int n)
void SetFuncPointer(GSLMonteFuncPointer f)
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...