ROOT 6.13/01 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 69 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... | |
#include </home/ozapatam/Projects/root/math/mathmore/src/GSLMultiFitFunctionAdapter.h>
|
inlinestatic |
Definition at line 86 of file GSLMultiFitFunctionAdapter.h.
|
inlinestatic |
Definition at line 73 of file GSLMultiFitFunctionAdapter.h.
|
inlinestatic |
evaluate derivative and function at the same time
Definition at line 103 of file GSLMultiFitFunctionAdapter.h.