ROOT  6.06/09
Reference Guide
Static Public Member Functions | List of all members
ROOT::Math::GSLMultiMinFunctionAdapter< UserFunc > Struct Template Reference

template<class UserFunc>
struct ROOT::Math::GSLMultiMinFunctionAdapter< UserFunc >

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 double F (const gsl_vector *x, void *p)
 
static void Df (const gsl_vector *x, void *p, gsl_vector *g)
 
static void Fdf (const gsl_vector *x, void *p, double *f, gsl_vector *g)
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/math/mathmore/src/GSLMultiMinFunctionAdapter.h>

Member Function Documentation

template<class UserFunc >
static void ROOT::Math::GSLMultiMinFunctionAdapter< UserFunc >::Df ( const gsl_vector *  x,
void p,
gsl_vector *  g 
)
inlinestatic

Definition at line 76 of file GSLMultiMinFunctionAdapter.h.

template<class UserFunc >
static double ROOT::Math::GSLMultiMinFunctionAdapter< UserFunc >::F ( const gsl_vector *  x,
void p 
)
inlinestatic

Definition at line 68 of file GSLMultiMinFunctionAdapter.h.

template<class UserFunc >
static void ROOT::Math::GSLMultiMinFunctionAdapter< UserFunc >::Fdf ( const gsl_vector *  x,
void p,
double f,
gsl_vector *  g 
)
inlinestatic

Definition at line 83 of file GSLMultiMinFunctionAdapter.h.


The documentation for this struct was generated from the following file: