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

Home » Public Forums » archive » 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
Find minimums in an array... [message #32536] Wed, 16 October 2002 11:08 Go to previous message
engpcris is currently offline  engpcris
Messages: 4
Registered: August 2001
Junior Member
Hello

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)

thank you very much for your help.

Fil
[Message index]
 
Read Message
Read Message
Previous Topic: Re: basic IDL questions: please help!
Next Topic: Re: Minimum curvature surface problem

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

Current Time: Fri Oct 10 04:35:24 PDT 2025

Total time taken to generate the page: 0.95851 seconds