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

Home » Public Forums » archive » vectorising versus loops
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
vectorising versus loops [message #38146] Sun, 22 February 2004 10:16 Go to previous message
nasalmon is currently offline  nasalmon
Messages: 33
Registered: August 2003
Member
Does anyone know what the speed increase factor is in IDL programmes
when going from "do loops" to full vectorisation of arrays? I know all
programmes are different and not every process lends itself to
vectorisation. However, there must be some rule of thumb, ie speed
going as a linear function of the number of array elements times some
factor.

Also, are there any tricks to play if you want to vectorise loops that
have IF statement decision in them, or any general rules for neat
vectorisation of looped programmes?

Many thanks,
Neil
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: resizing image
Next Topic: IDL jobs anyone?

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

Current Time: Fri Oct 10 23:02:56 PDT 2025

Total time taken to generate the page: 1.20040 seconds