Frank Küster writes:
I am wondering whether (and how) it is possible to use the least-squares
fitting, or alternatively minimization functions of gsl with constrained
parameters. What I mean with this is that I want to force the function
into the correct local minimum by supplying
Hi Frank,
let me try to give you a general answer which has nothing to do with GSL
library. The better, safest and probably faster way of introducing the
kind of constraints you mention is through a re-parameterization of the
problem. For instance, if you want to fit the sum of two exponentials