16#ifndef ROO_BRENT_ROOT_FINDER
17#define ROO_BRENT_ROOT_FINDER
28 bool findRoot(
double &result,
double xlo,
double xhi,
double value= 0)
const;
#define ClassDef(name, id)
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
const RooAbsFunc * _function
Pointer to input function.
virtual ~RooBrentRootFinder()=default
bool findRoot(double &result, double xlo, double xhi, double value=0) const
Do the root finding using the Brent-Decker method.
static constexpr int MaxIterations
RooBrentRootFinder(const RooAbsFunc &function)
Constructor taking function binding as input.
void setTol(double tol)
Set convergence tolerance parameter.
bool _valid
True if current state is valid.