31 #ifndef ROOT_Math_GSLMinimizer1D 32 #define ROOT_Math_GSLMinimizer1D 108 template <
class UserFunc>
132 double XMinimum()
const;
137 double XLower()
const;
142 double XUpper()
const;
147 double FValMinimum()
const;
152 double FValLower()
const;
157 double FValUpper()
const;
168 bool Minimize(
int maxIter,
double absTol,
double relTol);
186 const char *
Name()
const;
195 static int TestInterval(
double xlow,
double xup,
double epsAbs,
double epsRel);
Namespace for new ROOT classes and functions.
int Status() const
Return status of last minimization.
GSL1DMinimizerWrapper * fMinimizer
int Iterations() const
Return number of iteration used to find minimum.
double(* GSLFuncPointer)(double, void *)
Function pointer corresponding to gsl_function signature.
int TestInterval(double xlow, double xup, double epsAbs, double epsRel)
Class for adapting any C++ functor class to C function pointers used by GSL.
Minimizer for arbitrary one dimensional functions.
Interface class for numerical methods for one-dimensional minimization.
Namespace for new Math classes and functions.
Binding & operator=(OUT(*fun)(void))
Wrapper class to the gsl_function C structure.
Type
Enumeration with One Dimensional Minimizer Algorithms.
GSLFunctionWrapper * fFunction
wrapper class for gsl_min_fminimizer structure
void SetFunction(const UserFunc &f, double xmin, double xlow, double xup)
Set, or reset, minimizer to use the function f and the initial search interval [xlow, xup], with a guess for the location of the minimum xmin.