39 drt_error(
const std::string& whatIn): whatStr(whatIn)
41 virtual const char* what()
const noexcept override
43 return whatStr.c_str();
62 FitParameters(
int maxIterI,
double epsilonI = 1e-2,
double stepI = 0.001): maxIter(maxIterI), epsilon(epsilonI), step(stepI){}
This exception thrown if drt could not be calculated.
Definition types.h:36
This is used to return information on a fit.
Definition types.h:51
int iterations
how many iterations where used
Definition types.h:52
double fx
error function value remaining after fit
Definition types.h:53
bool compleated
true if fit completed successfully
Definition types.h:54