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

Home » Public Forums » archive » Re: Find minimums in an 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: Find minimums in an array... [message #32531 is a reply to message #32529] Wed, 16 October 2002 13:01 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
James Kuyper (kuyper@saicmodis.com) writes:

>> P.S. Let's just say that *this* is what enlightenment
>> feels like! :-)
>
> I feel somewhat unenlightened. Could you be a little more specific?

Well, I just thought "ten lowest values", what a perfect
job for the histogram function. Divide your array into
values, then Histogram it, and starting looking in the
lowest bins. Keep going until you find 10 values! Find
the locations by using REVERSE_INDICES.... Oh, oh. Hang
on a second, I've got to go check with the guru...

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

Cheers,

David

P.S. Let's just say when you have finally learned how
to use a hammer, everything looks like a nail. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: up/down arrows not working in IDLDE
Next Topic: up/down arrows not working in IDLDE

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

Current Time: Sun Oct 12 07:20:38 PDT 2025

Total time taken to generate the page: 1.60177 seconds