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

Home » Public Forums » archive » [Q]IDL: Using 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
[Q]IDL: Using WHERE. [message #5981] Tue, 19 March 1996 00:00
Joe Fitzgerald is currently offline  Joe Fitzgerald
Messages: 3
Registered: May 1995
Junior Member
Where finds the non-zero elements of an array; e.g.
array = FINDGEN(100)
B = Where(array GT 20., count)

B is an array containing the subscripts of ARRAY for values greater than
20.
Is there a way to use B to get the complementary values; i.e., the array
of subscripts for which ARRAY is less than 20?
--
Joe Fitzgerald
MS D466
Los Alamos National Laboratory
Los Alamos, New Mexico 87545
phone 505-667-1542
fax 505-665-7395
[Message index]
 
Read Message
Previous Topic: IDL Contract
Next Topic: Question on the run_time of IDL(PV_WAVE) Routines

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

Current Time: Wed Oct 08 18:49:08 PDT 2025

Total time taken to generate the page: 0.00264 seconds