comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » mpfit: multivariate fit
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: mpfit: multivariate fit [message #54126 is a reply to message #54032] Sun, 20 May 2007 20:25 Go to previous messageGo to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
On the subject of MPFIT, I'm trying to implement the '(EXTERNAL)' function
option (the case where the user does not supply a function to be called by
MPFIT itself, but is expected to supply function values and a jacobian
matrix in each call to MPFIT). I'm trying to do this with a very simple
polynomial function for which the partial derivatives are very easy to
compute, but the fitted parameters are not the correct values, the number of
degrees of freedom returned is a negative number, and in general I am
clearly not getting things to work.

In trying to debug this, I found what looks like an undocumented keyword:
EXTERNAL_INIT whose purpose is a bit obscure to me. I tried fiddling with
this but it did not fix the problem

Does anyone (Craig or someone else) have a simple example of MPFIT that uses
the EXTERNAL option? If so, I'd be grateful if you would send it along. If
not, then I can post my failing example so that someone can tell me what I
am doing wrong.

Thanks very much.

Dick French
rfrench@REMOVEwellesley.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Idlgrsymbol size?
Next Topic: Re: write a root group to HDF5 file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:12:52 PDT 2025

Total time taken to generate the page: 0.00180 seconds