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

Home » Public Forums » archive » How do you get rid of for-loops with arrays
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
How do you get rid of for-loops with arrays [message #19347] Wed, 08 March 2000 00:00
Karri Kaksonen is currently offline  Karri Kaksonen
Messages: 27
Registered: October 1999
Junior Member
I have tried to understand how to use the arrays in IDL but
there is still tons of techniques that I don't know...

Is it possible to do this without for-loops?

a = [[1,2,3],[4,5,6]]
b = [2,2,3]

for i=0,1 do a[*,i] = a[*,i] * b

--
Thanks,

Karri
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Help with Object graphics
Next Topic: Help with Object graphics

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

Current Time: Wed Oct 08 19:21:12 PDT 2025

Total time taken to generate the page: 0.00440 seconds