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

Home » Public Forums » archive » Fast shear
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Fast shear [message #29128] Tue, 05 February 2002 05:00 Go to previous message
the_cacc is currently offline  the_cacc
Messages: 104
Registered: October 2001
Senior Member
Hi,

Anyone know a way of doing the following as fast as possible:

for i = 0, n-1 DO array[*,i] = SHIFT(array[*,i],i)

or, even better,

for i = 0, n-1 DO array[*,i] = SHIFT(array[*,i],delta[i])

where delta is an INTARR.


Ciao.

(NB. using IDL5.5 - when it works ;))
[Message index]
 
Read Message
Read Message
Previous Topic: CFD with IDL ???
Next Topic: Re: IDL crashes using CONTAINSPOINTS (not any more)

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

Current Time: Wed Oct 08 18:35:55 PDT 2025

Total time taken to generate the page: 0.00468 seconds