This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
******************************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]