34#ifndef ROOT_Math_GSLMultiFitFunctionAdapter
35#define ROOT_Math_GSLMultiFitFunctionAdapter
37#include "gsl/gsl_vector.h"
38#include "gsl/gsl_matrix.h"
68template<
class FuncVector>
75 unsigned int n =
f->size;
78 if (
n == 0)
return -1;
79 for (
unsigned int i = 0; i <
n ; ++i) {
89 unsigned int n =
h->size1;
90 unsigned int npar =
h->size2;
91 if (
n == 0)
return -1;
92 if (
npar == 0)
return -2;
94 for (
unsigned int i = 0; i <
n ; ++i) {
95 double *
g = (
h->data)+i*
npar;
106 unsigned int n =
h->size1;
107 unsigned int npar =
h->size2;
108 if (
n == 0)
return -1;
109 if (
npar == 0)
return -2;
112 for (
unsigned int i = 0; i <
n ; ++i) {
115 double *
g = (
h->data)+i*
npar;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
Class for adapting a C++ functor class to C function pointers used by GSL MultiFit Algorithm The temp...
static int FDf(const gsl_vector *x, void *p, gsl_vector *f, gsl_matrix *h)
evaluate derivative and function at the same time
static int Df(const gsl_vector *x, void *p, gsl_matrix *h)
static int F(const gsl_vector *x, void *p, gsl_vector *f)
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...