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

Home » Public Forums » archive » array
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: array [message #90545 is a reply to message #90544] Mon, 09 March 2015 11:11 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
>> how can i print the location in the matrix knowing the value in that location.
>
> User the where() function as described here:
> http://exelisvis.com/docs/WHERE.html

Also, note that if your array is sorted monotonically, VALUE_LOCATE will do it much faster.

(yes, Jeremy's back and proselytizing about VALUE_LOCATE)

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Subsetting a multiple images using multiple envi vector files (EVFs)
Next Topic: Geopotential height gradient

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

Current Time: Fri Oct 10 09:36:19 PDT 2025

Total time taken to generate the page: 0.07659 seconds