35#ifndef ROOT_Math_GSLMultiRootFunctionAdapter
36#define ROOT_Math_GSLMultiRootFunctionAdapter
38#include "gsl/gsl_vector.h"
39#include "gsl/gsl_matrix.h"
67template<
class FuncVector>
76 unsigned int n =
f->size;
79 if (
n == 0)
return -1;
80 for (
unsigned int i = 0; i <
n ; ++i) {
90 unsigned int n =
h->size1;
91 unsigned int npar =
h->size2;
92 if (
n == 0)
return -1;
93 if (
npar == 0)
return -2;
95 for (
unsigned int i = 0; i <
n ; ++i) {
96 double *
g = (
h->data)+i*
npar;
107 unsigned int n =
h->size1;
108 unsigned int npar =
h->size2;
109 if (
n == 0)
return -1;
110 if (
npar == 0)
return -2;
113 for (
unsigned int i = 0; i <
n ; ++i) {
116 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 MultiRoot Algorithm The tem...
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 F(const gsl_vector *x, void *p, gsl_vector *f)
static int Df(const gsl_vector *x, void *p, gsl_matrix *h)
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...