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

Home » Public Forums » archive » Re: finding array subscripts of minimum value of 3 dim. fltarr
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: finding array subscripts of minimum value of 3 dim. fltarr [message #12798 is a reply to message #12786] Wed, 09 September 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Jens Redemann (redemann@cisk.atmos.ucla.edu) writes:

> can anybody key me in on the most efficient way of finding
> the subscripts of the minimum value of a three-dimensional float
> array?
> What is the exact numbering convention behind the single-subscript
> that the min(array) function returns?
> Hope this is not too trivial of a question.

You can find out how to convert WHERE function output to
2D and 3D array subscripts in this article on my web page:

http://www.dfanning.com/tips/where_to_2d.html

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: [Q] extracting value from a structure ...
Next Topic: Current Idl spec results: for Alpha-NT4

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

Current Time: Sat Oct 11 11:50:26 PDT 2025

Total time taken to generate the page: 0.88103 seconds