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

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


Class for adapting a C++ functor class to C function pointers used by GSL MultiRoot 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)

Definition at line 68 of file GSLMultiRootFunctionAdapter.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/GSLMultiRootFunctionAdapter.h>

Member Function Documentation

◆ Df()

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

Definition at line 87 of file GSLMultiRootFunctionAdapter.h.

◆ F()

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

Definition at line 74 of file GSLMultiRootFunctionAdapter.h.

◆ FDf()

template<class FuncVector >
static int ROOT::Math::GSLMultiRootFunctionAdapter< 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 104 of file GSLMultiRootFunctionAdapter.h.


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