16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_FIT_ADAPTER_GSLLEVENBERGMARQUARDTMINIMIZER_H
21 #define BORNAGAIN_FIT_ADAPTER_GSLLEVENBERGMARQUARDTMINIMIZER_H
26 class GSLNLSMinimizer;
54 std::map<std::string, std::string>
statusMap()
const override;
Declares class MinimizerAdapter.
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.
~GSLLevenbergMarquardtMinimizer() override
void setTolerance(double value)
Sets tolerance on the function value at the minimum.
std::unique_ptr< ROOT::Math::GSLNLSMinimizer > m_gsl_minimizer
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.
const root_minimizer_t * rootMinimizer() const override
void propagateOptions() override
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.
int maxIterations() const
void setParameter(unsigned int index, const mumufit::Parameter &par) override
GSLLevenbergMarquardtMinimizer()
Abstract base class that adapts the CERN ROOT minimizer to our IMinimizer.
ROOT::Math::Minimizer root_minimizer_t
A fittable parameter with value, error, step, and limits.