[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Fw: How to handle GSL_CONTINUE when doing multifit
From: |
Joakim Hove |
Subject: |
Re: [Help-gsl] Fw: How to handle GSL_CONTINUE when doing multifit |
Date: |
Fri, 04 Mar 2005 09:34:16 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) |
This is the code controlling the iteration, from the example in the
Documentation. As you can see a value of GSL_CONTINUE means just that;
continue the iteration.
do
{
iter++;
status = gsl_multifit_fdfsolver_iterate (s);
printf ("status = %s\n", gsl_strerror (status));
print_state (iter, s);
if (status)
break;
status = gsl_multifit_test_delta (s->dx, s->x,
1e-4, 1e-4);
}
while (status == GSL_CONTINUE && iter < 500);
HTH - Joakikm
--
Joakim Hove
hove AT ift uib no
Tlf: +47 (55 5)8 27 90
Fax: +47 (55 5)8 94 40
http://www.ift.uib.no/~hove/