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

Home » Public Forums » archive » Re: Working with indices of WHERE
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: Working with indices of WHERE [message #38340] Wed, 03 March 2004 12:25 Go to previous message
savoie is currently offline  savoie
Messages: 68
Registered: September 1996
Member
David Fanning <david@dfanning.com> writes:

> P.S. I think there is a new IDL routine that does this,
> but I can't remember the name.

It's called ARRAY_INDICES.

IDL> y = where(x lt 20)
IDL> idx = ARRAY_INDICES(x, y)
IDL> help, idx
IDX LONG = Array[2, 20]

> David Fanning, Ph.D.
> Fanning Software Consulting
> Coyote's Guide to IDL Programming: http://www.dfanning.com/


Matt.

--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
[Message index]
 
Read Message
Read Message
Previous Topic: cmset_op question (Craig)
Next Topic: BYTSCL and NAN keyword

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

Current Time: Fri Oct 10 09:35:41 PDT 2025

Total time taken to generate the page: 1.84151 seconds