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 #71481] Wed, 23 June 2010 17:16 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
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
[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 15:19:29 PDT 2025

Total time taken to generate the page: 0.00506 seconds