FitFunction typedef
Fit function definition to be used as the fit model by LMfit.
This is the function to which the data will be fitted ("model function").
Will be called by LMfit during its work. Computes the model function
value at position x
from the current iterated model parameters pars
.
At the beginning pars
are the initial parameters.
Implementation
typedef double FitFunction(double x, List<double> pars);