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

Home » Public Forums » archive » arrays as subscripts
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
arrays as subscripts [message #30805] Thu, 16 May 2002 20:06
lyubo is currently offline  lyubo
Messages: 34
Registered: March 2002
Member
Hi All,

Suppose I have 3 arrays with the same dimensions: A, B and C.

I have to use the non zero elements of A as index to access B, then use
the accessed values from B as index to access C, and finally store the
values from C in a new array at the previously indexed positions of B.

Is there an effective way to do that in IDL? I can write a call to a
C function but I was wondering if I can do it only in IDL.

Any examples and help would be appreciated.

Thank you.

Lyubo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: resizing idlde editor windows? (was: Re: how i can detect round bright structures in picture??)
Next Topic: IDL for mac os X...join the beta program?

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

Current Time: Sun Oct 12 07:03:11 PDT 2025

Total time taken to generate the page: 1.12062 seconds