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

Home » Public Forums » archive » WHERE - problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: WHERE - problem [message #33863 is a reply to message #33783] Thu, 30 January 2003 06:42 Go to previous message
Chad Bender is currently offline  Chad Bender
Messages: 21
Registered: July 2001
Junior Member
> thanks, it worked. however am I right, that the WHERE procedure is not
> able to handle the case, wehre you search values in a 3d array in one
> plane, and then want to acces with array[where] ?

David Fanning has a program (wheretomulti) on his website that will
convert WHERE output to 2 or 3d subscripts.

http://www.dfanning.com/tip_examples/wheretomulti.pro

If you need more than 3 dimensions, I have a similar routine that will
work on arbitrary dimensions. Let me know if you want it, and I'll put it
somewhere accessible.

Chad


--
#############################
Chad Bender
Dept of Physics and Astronomy
SUNY Stony Brook
cbender@mail.astro.sunysb.edu
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL demo bug in 5.6 on MAC OS 10.2?
Next Topic: formatting array output?

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

Current Time: Thu Oct 09 06:03:12 PDT 2025

Total time taken to generate the page: 0.00531 seconds