* nonlinear fitting - example
@ 2001-12-19 13:20 Thorsten Speckner
2001-12-19 13:20 ` Brian Gough
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Speckner @ 2001-12-19 13:20 UTC (permalink / raw)
To: gsl-discuss
Maybe there is a bug in the example for nonlinear fitting - Chapter 33:
main()
{
...
T = gsl_multifit_fdfsolver_lmsder;
s = gsl_multifit_fdfsolver_alloc (T, n, p);
gsl_multifit_fdfsolver (s, &f, &x); /* <----- */
...
}
shouldn't it be:
main()
{
...
T = gsl_multifit_fdfsolver_lmsder;
s = gsl_multifit_fdfsolver_alloc (T, n, p);
gsl_multifit_fdfsolver_set (s, &f, &x); /* <-----*/
...
}
???
best regards
Thorsten Speckner
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nonlinear fitting - example
2001-12-19 13:20 nonlinear fitting - example Thorsten Speckner
@ 2001-12-19 13:20 ` Brian Gough
0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2001-12-19 13:20 UTC (permalink / raw)
To: Thorsten Speckner; +Cc: gsl-discuss
Thorsten Speckner writes:
> Maybe there is a bug in the example for nonlinear fitting - Chapter 33:
> gsl_multifit_fdfsolver (s, &f, &x); /* <----- */
> shouldn't it be:
> gsl_multifit_fdfsolver_set (s, &f, &x); /* <-----*/
Thanks... now corrected
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-19 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-19 13:20 nonlinear fitting - example Thorsten Speckner
2001-12-19 13:20 ` Brian Gough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).