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 #88478 is a reply to message #71481] Thu, 01 May 2014 07:28 Go to previous messageGo to previous message
pete.petrus is currently offline  pete.petrus
Messages: 1
Registered: May 2014
Junior Member
On Wednesday, June 23, 2010 8:16:17 PM UTC-4, Craig Markwardt wrote:
> On Jun 23, 4:39 am, Fermiona Fermiona <fermion...@gmail.com> wrote:
>> It works now after I found the "transpose" of the subarrays:
>>
>> args = {X:transpose(x_n), Y:transpose(y_n), ERR:transpose(yerr)}
>>
>> It would have been really nice if we could get an error about the
>> wrong type of structure MPFIT accepts.
>>
>> Thaaanks!!!
>
> Quoting the documentation...
> ; In general there are no restrictions on the number of dimensions in
> ; X, Y or ERR. However the deviates *must* be returned in a
> ; one-dimensional array, and must have the same type (float or
> ; double) as the input arrays.
>
> CM

Ha ha bit me too.

"However the deviates *must* be returned in a
; one-dimensional array"

A error code for this (when the residuals are not 1-D) with something like STATUS "-19 Hey dumb-ass read the documentation" would be helpful

Cheers

-- Pete
[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:29:17 PDT 2025

Total time taken to generate the page: 0.00337 seconds