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

Home » Public Forums » archive » idl array operations
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
idl array operations [message #47769] Tue, 28 February 2006 15:23
alex922@gmail.com is currently offline  alex922@gmail.com
Messages: 8
Registered: February 2006
Junior Member
Hi,

I'm pretty new to IDL and someone told me to avoid loops.

I have the following problem. I have an array of elements whose values
range from 0 to 360, and I have to subtract a number if the value is
greater than 180.

My initial reaction is to create a loop and use condition statements to
perform the calculations.

Is there a 'one liner' array operation which would allow me to do this
without using loops?

Thanks,
Alex
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl array operations
Next Topic: problem with dual monitor setup

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

Current Time: Wed Oct 08 11:51:13 PDT 2025

Total time taken to generate the page: 0.00548 seconds