7 #ifndef Tomato_OXFITTERLEVENBERGMARQUARDTLMFIT_HXX 8 #define Tomato_OXFITTERLEVENBERGMARQUARDTLMFIT_HXX 10 #include "CmakeConfigForTomato.h" 19 template <
typename TYPE >
21 FitterLevenbergMarquardtLmfit<TYPE>
24 lm_control_struct control = lm_control_double;
25 lm_status_struct status;
28 control.patience = this->getMaxFunctionEvals();
29 control.ftol = this->getFTolerance();
30 control.xtol = this->getXTolerance();
33 if (this->getVerbose()){
34 control.verbosity = 1;
37 if (this->getTrace()){
38 control.verbosity = 3;
42 this->_Model->getNDims(),
43 this->getParameters(),
44 this->_Model->getNSamples(),
46 (
const void *)this->_Model,
47 ModelT1AdapterLmfitLeastSquares<TYPE>::calcLSResiduals,
54 template <
typename TYPE >
56 FitterLevenbergMarquardtLmfit<TYPE>
58 std::cout <<
"\nYou called disp() on a FitterLevenbergMarquardtLmfit object " <<
this <<
"\n";
59 std::cout <<
"It's base class is as follows: ";
68 #endif //Tomato_OXFITTERLEVENBERGMARQUARDTLMFIT_HXX
virtual void disp()
show me your Fitter
Definition: OxFitter.h:77
Definition: OxCalculator.h:19