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 #32532 is a reply to message #32531] Wed, 16 October 2002 12:30 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
David Fanning wrote:
>
> Filipe (engpcris@livjm.ac.uk) writes:
>
>> I'm looking for a fonction or an algorithm who could find the X
>> minumun values in a array without having to use Sort (for a time
>> reason) or Min (updating the array everytime)
>>
>> For Example in a Array of 1000 elements I want to find the 10 smallest
>> values.
>>
>> Do you know any quick how to perfome it? (as I need to do this
>> operation many times in a loop)
>
> Oh, my gosh! I believe HISTOGRAM can be used to solve
> this problem!!!
>
> http:/www.dfanning.com/tips/histogram_tutorial.html

That should be:
http://

> P.S. Let's just say that *this* is what enlightenment
> feels like! :-)

I feel somewhat unenlightened. Could you be a little more specific?
[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: Sat Oct 11 14:43:44 PDT 2025

Total time taken to generate the page: 0.55757 seconds