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);
typedef void((*Func_t)())
wrapper to a multi-dim function with derivatives for multi roots algorithm
GSLMultiRootDerivFunctionWrapper()
gsl_multiroot_function_fdf * GetFunctions()
gsl_multiroot_function_fdf fFunc
void SetFunctions(const FuncVector &f, unsigned int n)
Fill gsl function structure from a C++ function iterator and size and number of residuals.
Class for adapting a C++ functor class to C function pointers used by GSL MultiRoot Algorithm The tem...
wrapper to a multi-dim function without derivatives for multi roots algorithm
gsl_multiroot_function fFunc
gsl_multiroot_function * GetFunctions()
GSLMultiRootFunctionWrapper()
void SetFunctions(const FuncVector &f, unsigned int n)
Fill gsl function structure from a C++ function iterator and size and number of residuals.
Namespace for new Math classes and functions.
void(* GSLMultiRootFdfPointer)(const gsl_vector *, void *, gsl_vector *, gsl_matrix *)
void(* GSLMultiRootDfPointer)(const gsl_vector *, void *, gsl_matrix *)
double(* GSLMultiRootFPointer)(const gsl_vector *, void *, gsl_vector *)