31#ifndef ROOT_Math_BrentMinimizer1D
32#define ROOT_Math_BrentMinimizer1D
110 virtual bool Minimize(
int maxIter,
double absTol = 1.E-8,
double relTol = 1.E-10);
116 virtual const char *
Name()
const;
User class for performing function minimization.
const IGenFunction * fFunction
virtual int Iterations() const
Return number of iteration used to find minimum.
static void SetDefaultNSearch(int n)
set number of times the bracketing search in combination with is done to find a good interval Default...
virtual double XUpper() const
Return current upper bound of the minimization interval.
virtual double FValUpper() const
Return function value at current upper bound of the minimization interval.
int Status() const
Returns status of last estimate.
virtual bool Minimize(int maxIter, double absTol=1.E-8, double relTol=1.E-10)
Find minimum position iterating until convergence specified by the absolute and relative tolerance or...
virtual const char * Name() const
Return name of minimization algorithm ("BrentMinimizer1D")
virtual double FValLower() const
Return function value at current lower bound of the minimization interval.
virtual double XMinimum() const
Return current estimate of the position of the minimum.
void SetFunction(const ROOT::Math::IGenFunction &f, double xlow, double xup)
Sets function to be minimized.
static void SetDefaultNpx(int npx)
set number of default Npx used at construction time (when SetNpx is not called) Default value is 100
void SetNpx(int npx)
Set the number of point used to bracket root using a grid.
void SetLogScan(bool on)
Set a log grid scan (default is equidistant bins) will work only if xlow > 0.
BrentMinimizer1D()
Default Constructor.
virtual double FValMinimum() const
Return function value at current estimate of the minimum.
virtual double XLower() const
Return current lower bound of the minimization interval.
virtual ~BrentMinimizer1D()
Default Destructor.
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Interface class for numerical methods for one-dimensional minimization.
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...