[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Additional parameters in Non-linear least-squares fitting?

Subject: [Help-gsl] Additional parameters in Non-linear least-squares fitting?
Date: Sun, 30 Jul 2006 13:14:14 -0400

I need to pass additional parameters to the functions used by the N-L L-S 
fitting routines.  The functions I want to fit may have 6 parameters but I want 
to vary only 3 during the fit.  I tried defining a longer vector of 'best 
guess' parameters (length 6) but setting the number of parameters to vary to 3. 
 The internal routines, however, check the length of the vector and give a run 
time error.
Three solutions are possible: hard coding the extra parameters into the code 
for the user-supplied functions, putting initialization code into the 
functions, or changing the gsl code.  None of these are preferred solutions for 
Is there a way around this within gsl?
Ken McFarlane
The information contained in this message is intended only for the recipient, 
and may otherwise be privileged and confidential. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer. This footnote also 
confirms that this email has been scanned for all viruses by the Hampton 
University’s Center for Information Technology Enterprise Systems service.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]