ROOT 6.08/07 Reference Guide |
Class for adapting a C++ functor class to C function pointers used by GSL MultiFit Algorithm The templated C++ function class must implement:
double operator( const double * x) and if the derivatives are required: void Gradient( const double * x, double * g) and void FdF( const double * x, double &f, double * g)
This class defines static methods with will be used to fill the gsl_multimin_function and gsl_multimin_function_fdf structs used by GSL. See for examples the GSL online manual
Definition at line 71 of file GSLMultiFitFunctionAdapter.h.
Static Public Member Functions | |
static int | Df (const gsl_vector *x, void *p, gsl_matrix *h) |
static int | F (const gsl_vector *x, void *p, gsl_vector *f) |
static int | FDf (const gsl_vector *x, void *p, gsl_vector *f, gsl_matrix *h) |
evaluate derivative and function at the same time More... | |
|
inlinestatic |
Definition at line 88 of file GSLMultiFitFunctionAdapter.h.
|
inlinestatic |
Definition at line 75 of file GSLMultiFitFunctionAdapter.h.
|
inlinestatic |
evaluate derivative and function at the same time
Definition at line 105 of file GSLMultiFitFunctionAdapter.h.