31#ifndef ROOT_Math_GSLMultiRootFunctionWrapper
32#define ROOT_Math_GSLMultiRootFunctionWrapper
34#include "gsl/gsl_multiroots.h"
67 fFunc.params =
nullptr;
72 template<
class FuncVector>
75 assert (
p !=
nullptr);
78 fFunc.params =
const_cast<void *
>(
p);
108 fFunc.params =
nullptr;
113 template<
class FuncVector>
116 assert (
p !=
nullptr);
121 fFunc.params =
const_cast<void *
>(
p);
winID h TVirtualViewer3D TVirtualGLPainter p
wrapper to a multi-dim function with derivatives for multi roots algorithm
GSLMultiRootDerivFunctionWrapper()
gsl_multiroot_function_fdf * GetFunctions()
gsl_multiroot_function_fdf fFunc
void SetFunctions(const FuncVector &f, unsigned int n)
Fill gsl function structure from a C++ function iterator and size and number of residuals.
Class for adapting a C++ functor class to C function pointers used by GSL MultiRoot Algorithm The tem...
wrapper to a multi-dim function without derivatives for multi roots algorithm
gsl_multiroot_function fFunc
gsl_multiroot_function * GetFunctions()
GSLMultiRootFunctionWrapper()
void SetFunctions(const FuncVector &f, unsigned int n)
Fill gsl function structure from a C++ function iterator and size and number of residuals.
Namespace for new Math classes and functions.
void(* GSLMultiRootFdfPointer)(const gsl_vector *, void *, gsl_vector *, gsl_matrix *)
void(* GSLMultiRootDfPointer)(const gsl_vector *, void *, gsl_matrix *)
double(* GSLMultiRootFPointer)(const gsl_vector *, void *, gsl_vector *)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.