19#ifndef ROOT_Math_ModABRootFinder
20#define ROOT_Math_ModABRootFinder
68 const char *
Name()
const override;
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Interface for finding function roots of one-dimensional functions.
virtual bool SetFunction(const ROOT::Math::IGradFunction &, double)
Sets the function for algorithms using derivatives.
Class for finding the root of a one dimensional function using the ModAB algorithm.
const char * Name() const override
Return name of root finder algorithm ("ModABRootFinder").
const IGenFunction * fFunction
bool Solve(int maxIter=100, double absTol=1E-8, double relTol=1E-10) override
Returns the X value corresponding to the function value fy for (xmin<x<xmax).
bool SetFunction(const ROOT::Math::IGenFunction &f, double xlow, double xup) override
Sets the function for the rest of the algorithms.
int Iterations() const override
Return number of iteration used to find minimum.
int Status() const override
Returns status of last estimate.
double Root() const override
Returns root value.