ReFRACtor
nlls_solver_gsl_lmder.h
Go to the documentation of this file.
1 #ifndef NLLS_SOLVER_GSL_LMDER_H
2 #define NLLS_SOLVER_GSL_LMDER_H
3 #include <nlls_solver_gsl.h>
4 
5 namespace FullPhysics {
6 /******************************************************************
7  This class is the implementation of J. J. More's
8  version of the Levenberg-Marquardt NLLS solver with
9  one difference. The diagonal weighing matrix in
10  described in the More's paper is replace with the
11  identity matrix.
12 *******************************************************************/
14  public NLLSSolverGSL {
15 
16 public:
17 
18 //-----------------------------------------------------------------------
27 //-----------------------------------------------------------------------
28 
29  NLLSSolverGSLLMDER(const boost::shared_ptr<NLLSProblem>& p, int max_cost_function_calls,
30  double dx_tol_abs=0.000001, double dx_tol_rel=0.000001, double g_tol=6.0555e-06,
31  bool vrbs=false)
32  : NLLSSolverGSL(p, max_cost_function_calls, dx_tol_abs, dx_tol_rel, g_tol, vrbs)
33  {}
34 
35  virtual ~NLLSSolverGSLLMDER() {}
36 
37 //-----------------------------------------------------------------------
39 //-----------------------------------------------------------------------
40 
41  virtual void print(std::ostream& Os) const
42  { Os << "NLLSSolverGSLLMDER"; }
43 
44 protected:
45 
46  virtual const gsl_multifit_fdfsolver_type* get_gsl_multifit_fdfsolver()
47  { return gsl_multifit_fdfsolver_lmder; }
48 
49 };
50 }
51 #endif
NLLSSolverGSLLMDER(const boost::shared_ptr< NLLSProblem > &p, int max_cost_function_calls, double dx_tol_abs=0.000001, double dx_tol_rel=0.000001, double g_tol=6.0555e-06, bool vrbs=false)
Initializes the solver.
virtual void print(std::ostream &Os) const
Print description of object.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual const gsl_multifit_fdfsolver_type * get_gsl_multifit_fdfsolver()

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10