15 #ifndef BORNAGAIN_FIT_ROOTADAPTER_GSLLEVENBERGMARQUARDTMINIMIZER_H 
   16 #define BORNAGAIN_FIT_ROOTADAPTER_GSLLEVENBERGMARQUARDTMINIMIZER_H 
   24 class GSLNLSMinimizer;
 
   41     double tolerance() 
const;
 
   45     int printLevel() 
const;
 
   51     int maxIterations() 
const;
 
   54     std::map<std::string, std::string> 
statusMap() 
const override;
 
   59     void propagateOptions() 
override;
 
   60     const root_minimizer_t* rootMinimizer() 
const override;
 
   61     void setParameter(
unsigned int index, 
const Fit::Parameter& par) 
override;
 
   64     std::unique_ptr<ROOT::Math::GSLNLSMinimizer> m_gsl_minimizer;
 
Declares class RootMinimizerAdapter.
 
A fittable parameter with value, error, step, and limits.
 
It's a facade to ROOT::Math::GSLNLSMinimizer which, in turn, is a facade to the actual GSL's gsl_mult...
 
void setMaxIterations(int value)
Sets maximum number of iterations.
 
void setTolerance(double value)
Sets tolerance on the function value at the minimum.
 
std::string statusToString() const override
Returns string representation of current minimizer status.
 
bool requiresResiduals() override
Returns true if minimizer computations are residual-based, false otherwise.
 
void setPrintLevel(int value)
Sets minimizer internal print level.
 
std::map< std::string, std::string > statusMap() const override
Returns map of string representing different minimizer statuses.
 
Pure virtual interface that adapts the CERN ROOT minimizer to our IMinimizer.