31 #ifndef ROOT_Math_GSLMultiRootFunctionWrapper 32 #define ROOT_Math_GSLMultiRootFunctionWrapper 34 #include "gsl/gsl_multiroots.h" 72 template<
class FuncVector>
78 fFunc.params =
const_cast<void *
>(p);
113 template<
class FuncVector>
121 fFunc.params =
const_cast<void *
>(p);
gsl_multiroot_function_fdf fFunc
Namespace for new ROOT classes and functions.
gsl_multiroot_function fFunc
wrapper to a multi-dim function without derivatives for multi roots algorithm
GSLMultiRootFunctionWrapper()
void SetFunctions(const FuncVector &f, unsigned int n)
Fill gsl function structure from a C++ function iterator and size and number of residuals.
void(* GSLMultiRootDfPointer)(const gsl_vector *, void *, gsl_matrix *)
double(* GSLMultiRootFPointer)(const gsl_vector *, void *, gsl_vector *)
GSLMultiRootDerivFunctionWrapper()
void SetFunctions(const FuncVector &f, unsigned int n)
Fill gsl function structure from a C++ function iterator and size and number of residuals.
void(* GSLMultiRootFdfPointer)(const gsl_vector *, void *, gsl_vector *, gsl_matrix *)
gsl_multiroot_function_fdf * GetFunctions()
Namespace for new Math classes and functions.
wrapper to a multi-dim function with derivatives for multi roots algorithm
typedef void((*Func_t)())
Class for adapting a C++ functor class to C function pointers used by GSL MultiRoot Algorithm The tem...
gsl_multiroot_function * GetFunctions()