|
From: | Martin Sperl |
Subject: | Re: [Help-gsl] converting old least-squares fit code to use gsl instead - fails miserably |
Date: | Thu, 05 Feb 2009 14:51:06 +0100 |
User-agent: | Thunderbird 2.0.0.19 (Windows/20081209) |
Thanks for pointing this out - stupid error! MS Brian Gough wrote:
At Wed, 04 Feb 2009 09:42:02 +0100, Martin Sperl wrote:Has someone got experience to get me going in the right direction? Maybe I am missing something obvious...Take a look at your derivative with respect to p[1] -- it should be time[i] if v=p[0]+p[1]*time[i];
[Prev in Thread] | Current Thread | [Next in Thread] |