ROOT 6.14/05 Reference Guide |
Class for adapting any C++ functor class to C function pointers used by GSL.
The templated C++ function class must implement:
double operator( double x) and if the derivatives are required: double Gradient( double x)
This class defines static methods with will be used to fill the gsl_function and gsl_function_fdf structs used by GSL. See for examples the GSL online manual
Definition at line 63 of file GSLFunctionAdapter.h.
Public Member Functions | |
GSLFunctionAdapter () | |
virtual | ~GSLFunctionAdapter () |
Static Public Member Functions | |
static double | Df (double x, void *p) |
static double | F (double x, void *p) |
static void | Fdf (double x, void *p, double *f, double *df) |
#include <Math/GSLFunctionAdapter.h>
|
inline |
Definition at line 67 of file GSLFunctionAdapter.h.
|
inlinevirtual |
Definition at line 68 of file GSLFunctionAdapter.h.
|
inlinestatic |
Definition at line 77 of file GSLFunctionAdapter.h.
|
inlinestatic |
Definition at line 70 of file GSLFunctionAdapter.h.
|
inlinestatic |
Definition at line 83 of file GSLFunctionAdapter.h.