This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Confused by nonlinear least square fitting example
- From: Simon <s dot martin at sheffield dot ac dot uk>
- To: gsl-discuss at sources dot redhat dot com
- Date: 29 Apr 2002 12:24:44 +0100
- Subject: Confused by nonlinear least square fitting example
I'm a newbie to GSL so please be nice if this is a dumb question.
In the main part of the example program for the Levenberg-Marquardt
fitter the pointer to the parameters for the gsl_multifit_funtion_fdf f
appears to be pointing at the data rather than the parameters:
e.g. f.params = &d;
where d is a data struct.
I don't get this. Surely it should point to a vector of guesses at the
parameters that fit the model?
Simon
--
*******************************************************************************
* Dr Simon Martin s.martin@shef.ac.uk *
* Department of Physics and Astronomy
* University of Sheffield tel: 0114 2224285
* Hounsfield Road Fax: 0114 2728079
* Sheffield S3 7RH
* United Kingdom
******************************************************************************