1 #ifndef ROOT_Math_BrentMethods 2 #define ROOT_Math_BrentMethods 10 namespace BrentMethods {
24 double MinimStep(
const IGenFunction* f,
int type,
double &xmin,
double &xmax,
double fy,
int npx = 100,
bool useLog =
false);
45 double MinimBrent(
const IGenFunction* f,
int type,
double &xmin,
double &xmax,
double xmiddle,
double fy,
bool &ok,
int &niter,
double epsabs = 1.
E-8,
double epsrel = 1.
E-10,
int maxiter = 100 );
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Namespace for new ROOT classes and functions.
double MinimStep(const IGenFunction *f, int type, double &xmin, double &xmax, double fy, int npx=100, bool useLog=false)
Grid search implementation, used to bracket the minimum and later use Brent's method with the bracket...
double MinimBrent(const IGenFunction *f, int type, double &xmin, double &xmax, double xmiddle, double fy, bool &ok, int &niter, double epsabs=1.E-8, double epsrel=1.E-10, int maxiter=100)
Finds a minimum of a function, if the function is unimodal between xmin and xmax This method uses a c...
constexpr Double_t E()
Base of natural log: .
Namespace for new Math classes and functions.