UNIMPLEMENTED_fit(fitter,
n_dat,
x,
y,
params,
err,
fixed_param)
Performs a nonlinear fit with a preset.
See gwy_math_nlfit_fit_full () for details.
-
- Parameters:
fitter -
A Marquardt-Levenberg nonlinear fitter already initialized for
preset 's function, or
NULL . (NLFitter*)
n_dat -
The number of data points (number of items in
x and y ).
(int)
x -
Abscissa points. (const-gdouble*)
y -
Ordinate points. (const-gdouble*)
params -
Initial parameter estimate (the number of parameters depends
on the fitted preset and it can be obtained with
gwy_nlfit_preset_get_nparams ()).
(gdouble*)
err -
Array to store parameter errros to, may be
NULL . (gdouble*)
fixed_param -
Which parameters should be treated as fixed (set corresponding
element to True for them). May be
NULL if all parameters are variable.
(const-gboolean*)
- Returns:
-
Either
fitter itself, or a newly created
fitter if it was NULL .
|