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

Home » Public Forums » archive » Re: mpfit and analytical derivative debugging
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 and analytical derivative debugging [message #80065] Wed, 09 May 2012 01:32 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den tisdagen den 8:e maj 2012 kl. 19:29:12 UTC+2 skrev Mats Löfdahl:
> Den tisdagen den 8:e maj 2012 kl. 16:50:05 UTC+2 skrev Craig Markwardt:
>> On Tuesday, May 8, 2012 9:53:55 AM UTC-4, Mats Löfdahl wrote:
>
>>> Oh, silly me! You must turn on the analytical derivatives using parinfo.mpside=3 and not with autoderivative=0 for the debugging to work.
>>
>> Thanks for reminding me to document FJAC_MASK. It's just telling you which parameters MPFIT expects explicit derivatives from your user function. All 1s indicates all parameters.
>>
>> You always have to set MPSIDE=3; that's well documented. :-)
>
> That doesn't help you if you're like me and think you are smarter than the documentation...

Actually, here is one instance where the documentation could be improved (in mpfit.pro header):


; The keyword setting AUTODERIVATIVE=0 always globally overrides the
; individual values of PARINFO.MPSIDE. Setting AUTODERIVATIVE=0 is
; equivalent to resetting PARINFO.MPSIDE=3 for all parameters.

It kind of suggests that I should have been able to do what I did.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Web Site Curator Needed
Next Topic: Re: Matrix multiplication again...

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

Current Time: Wed Oct 08 17:34:53 PDT 2025

Total time taken to generate the page: 0.00443 seconds