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

Home » Public Forums » archive » Re: Integrator taking vectors as input?
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: Integrator taking vectors as input? [message #71099 is a reply to message #71089] Wed, 26 May 2010 23:31 Go to previous messageGo to previous message
elias is currently offline  elias
Messages: 13
Registered: April 2005
Junior Member
On May 26, 5:18 pm, "jsch...@gmail.com" <jsch...@gmail.com> wrote:
>> I was wondering if an IDL integrator exists where it can accept
>> vectors instead of scalars as inputs for upper and lower limits of the
>> integral. I want to apply it to big datasets and I want to avoid using
>> loops, which tend to be much slower.
>
> The IDL routines like QROMB accept vector inputs as the limits.
>
> See the documenation (e.g.http://star.pst.qub.ac.uk/idl/QROMB.html)
> for details.
>
> Josiah

Thanks a lot,

I tried QROMB and QSIMP, the problem is that they use internally loops
when vectors are provided for the limits. In that case, since my
integrals have constants that they are dependent from the values of
the limits, it doesn't work, since the constants are also vectors
(that I pass in the function I integrate through a COMMON block).

Eg. at a single step of the internal QROMB loop, the limits are
scalars while the constants are vectors. Therefore the code crashes...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: hieghlighting pixel
Next Topic: Confusing Error Message

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

Current Time: Wed Oct 08 19:43:39 PDT 2025

Total time taken to generate the page: 0.00393 seconds