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

Home » Public Forums » archive » Searching in a sorted 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
Searching in a sorted array [message #15143] Sat, 24 April 1999 00:00 Go to previous message
VU KHAC Tri is currently offline  VU KHAC Tri
Messages: 25
Registered: March 1999
Junior Member
Hi folks,

subject : Searching an element replying to a criteria in an unique &
sorted array

I think every programmer can make an efficient Finder function replying
to this request.
For example: Looking for the last element smaller than or equal 100 in a
sorted array.

If you do this program in C/C++, you must use the recursive function or
repeat, for, while.
My question is, does IDL have a built-in function for doing this.
Why this ? Well, because of computing time.

Thank you for your suggestion.

Best regards,

Tri.
[Message index]
 
Read Message
Read Message
Previous Topic: hexadecimal variables
Next Topic: NOAA Satellite Active Archive IDL Imagery Display Tool

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

Current Time: Wed Oct 08 17:00:43 PDT 2025

Total time taken to generate the page: 0.00397 seconds