Class for adapting any multi-dimension C++ functor class to C function pointers used by GSL MultiMin algorithms.
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)
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 66 of file GSLMultiMinFunctionAdapter.h.
Static Public Member Functions | |
static void | Df (const gsl_vector *x, void *p, gsl_vector *g) |
static double | F (const gsl_vector *x, void *p) |
static void | Fdf (const gsl_vector *x, void *p, double *f, gsl_vector *g) |
|
inlinestatic |
Definition at line 76 of file GSLMultiMinFunctionAdapter.h.
|
inlinestatic |
Definition at line 68 of file GSLMultiMinFunctionAdapter.h.
|
inlinestatic |
Definition at line 83 of file GSLMultiMinFunctionAdapter.h.