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

Home » Public Forums » archive » Re: Error detected while calling MPFIT_FDJAC2
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: Error detected while calling MPFIT_FDJAC2 [message #71506 is a reply to message #71503] Tue, 22 June 2010 00:48 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Jun 21, 3:15 pm, Fermiona Fermiona <fermion...@gmail.com> wrote:
> Hello,
>
> I used MPFIT within a loop and I got the following errors:
>
> % MPFIT: Error detected while calling MPFIT_FDJAC2:
> % MPFIT: Out of range subscript encountered: FJAC.
> % MPFIT: Error condition detected. Returning to MAIN level.
>
> The function carried out "Iter      1", calculated "CHI-SQUARE" and
> "DOF" then found the value of the parameters P(0), P(1), etc ..
> After that, it reported the above errors, and increased the dof by 1
> (and consequently skipped finding the value of one of the Params),
> then carried out the rest of iterations.
>
> What could be wrong?

Well the obvious answer is that there was an error while calling
MPFIT_FDJAC2! That is where the user function and its derivatives are
evaluated.

I suspect you are attempting to compute your own explicit derivatives
and not returning an array with the right dimensions and/or sizes.

Regards,
Craig Markwardt
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: linear interpolation to form a deformation field
Next Topic: IDLDoc + HTML

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

Current Time: Wed Oct 08 19:36:57 PDT 2025

Total time taken to generate the page: 0.20107 seconds