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

Home » Public Forums » archive » Faster than this...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Faster than this... [message #18680] Thu, 03 February 2000 00:00 Go to previous message
Ricardo Fonseca is currently offline  Ricardo Fonseca
Messages: 13
Registered: February 2000
Junior Member
Hi

I have this line of code in IDL 5.2a

for j=0, N-1 do Data[j]=XAxisData[j]^2*Data[j]

Where both Data and XAxisData have the same dimension N.
Does anyone know if there is a faster way of doing this
(i.e. avoiding the for cicle) ?

Thanks, Ricardo
[Message index]
 
Read Message
Read Message
Previous Topic: Call_External on IDL5.0
Next Topic: Non-sequential error

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

Current Time: Wed Oct 08 20:02:35 PDT 2025

Total time taken to generate the page: 0.42969 seconds