40#include "gsl/gsl_roots.h" 
   41#include "gsl/gsl_errno.h" 
   50   fFunction(nullptr), fS(nullptr),
 
   51   fRoot(0), fXlow(0), fXup(0),
 
   52   fIter(0), fStatus(-1),
 
 
   72   if (
this == &
rhs) 
return *
this;  
 
 
  122      MATH_ERROR_MSG(
"GSLRootFinder::Iterate",
" Function is not valid");
 
  127      MATH_ERROR_MSG(
"GSLRootFinder::Iterate",
" Interval is not valid");
 
 
  175         MATH_ERROR_MSG(
"GSLRootFinder::Solve",
"error returned when performing an iteration");
 
  189      MATH_INFO_MSGVAL(
"GSLRootFinder::Solve",
"exceeded max iterations, reached tolerance is not sufficient",
tol);
 
 
#define MATH_INFO_MSGVAL(loc, txt, x)
 
#define MATH_ERROR_MSG(loc, str)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Wrapper class to the gsl_function C structure.
 
void SetFunction(const FuncType &f)
fill the GSL C struct from a generic C++ callable object implementing operator()
 
void SetFuncPointer(GSLFuncPointer f)
set in the GSL C struct the pointer to the function evaluation
 
void SetParams(void *p)
set in the GSL C struct the extra-object pointer
 
bool IsValid()
check if function is valid (has been set)
 
Root-Finder implementation class using GSL.
 
gsl_root_fsolver * Solver() const
 
Base class for GSL Root-Finding algorithms for one dimensional functions which do not use function de...
 
const char * Name() const override
double GSLRootFinder::XLower() const { return fXlow; }
 
GSLFunctionWrapper * fFunction
 
int Iterate() override
This method is implemented only by the GSLRootFinder and GSLRootFinderDeriv classes and will return a...
 
~GSLRootFinder() override
 
void SetSolver(GSLRootFSolver *s)
 
GSLRootFinder & operator=(const GSLRootFinder &)
 
double Root() const override
Returns the previously calculated root.
 
bool Solve(int maxIter=100, double absTol=1E-8, double relTol=1E-10) override
Find the root.
 
bool SetFunction(const IGenFunction &f, double xlow, double xup) override
Sets the function for the rest of the algorithms.
 
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
 
Interface for finding function roots of one-dimensional functions.
 
Namespace for new Math classes and functions.
 
int TestInterval(double xlow, double xup, double epsAbs, double epsRel)
 
double(* GSLFuncPointer)(double, void *)
Function pointer corresponding to gsl_function signature.
 
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...