Logo ROOT   6.19/01
Reference Guide
ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector > Class Template Reference

template<class FuncVector>
class ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector >


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 </mnt/build/workspace/root-makedoc/rootspi/rdoc/src/master/math/mathmore/src/GSLMultiFitFunctionAdapter.h>

Member Function Documentation

◆ Df()

template<class FuncVector >
static int ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector >::Df ( const gsl_vector *  x,
void p,
gsl_matrix *  h 
)
inlinestatic

Definition at line 86 of file GSLMultiFitFunctionAdapter.h.

◆ F()

template<class FuncVector >
static int ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector >::F ( const gsl_vector *  x,
void p,
gsl_vector *  f 
)
inlinestatic

Definition at line 73 of file GSLMultiFitFunctionAdapter.h.

◆ FDf()

template<class FuncVector >
static int ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector >::FDf ( const gsl_vector *  x,
void p,
gsl_vector *  f,
gsl_matrix *  h 
)
inlinestatic

evaluate derivative and function at the same time

Definition at line 103 of file GSLMultiFitFunctionAdapter.h.


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