bool Solve(int maxIter=100, double absTol=1E-8, double relTol=1E-10)
Returns the X value corresponding to the function value fy for (xmin
Namespace for new ROOT classes and functions.
int Status() const
Returns status of last estimate.
Interface for finding function roots of one-dimensional functions.
const IGenFunction * fFunction
const char * Name() const
Return name of root finder algorithm ("BrentRootFinder").
int Iterations() const
Return number of iteration used to find minimum.
double Root() const
Returns root value.
void SetLogScan(bool on)
Set a log grid scan (default is equidistant bins) will work only if xlow > 0.
Class for finding the root of a one dimensional function using the Brent algorithm.
BrentRootFinder()
Default Constructor.
virtual bool SetFunction(const ROOT::Math::IGradFunction &, double)
Sets the function for algorithms using derivatives.
Namespace for new Math classes and functions.
static void SetDefaultNSearch(int n)
set number of times the bracketing search in combination with is done to find a good interval Default...
static void SetDefaultNpx(int npx)
set number of default Npx used at construction time (when SetNpx is not called) Default value is 100 ...
bool SetFunction(const ROOT::Math::IGenFunction &f, double xlow, double xup)
Sets the function for the rest of the algorithms.
void SetNpx(int npx)
Set the number of point used to bracket root using a grid.
virtual ~BrentRootFinder()
Default Destructor.