[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Nonlinear least-square-fitting parameter domain
From: |
Patrick Alken |
Subject: |
Re: [Help-gsl] Nonlinear least-square-fitting parameter domain |
Date: |
Wed, 21 Feb 2007 08:12:30 -0700 |
User-agent: |
Mutt/1.4.2.2i |
On Wed, Feb 21, 2007 at 08:03:07AM -0700, Patrick Alken wrote:
> On Tue, Feb 20, 2007 at 01:44:09AM -0300, Ricardo Zapata wrote:
> > Hi,
> >
> > Is there any way to give the parameters' range to the solver for
> > nonlinear square-fitting? I need my parameters to be > 0. I used
> > GSL_EDOM in my functions (f and df), but this makes the program to abort
> > instead of trying a new parameter value.
>
> One way I've used in the past is to add a large value to the error
> if your params are > 0.
errr... < 0..