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

Home » Public Forums » archive » Re: An algorithm puzzle
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: An algorithm puzzle [message #60787 is a reply to message #60786] Fri, 13 June 2008 21:09 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Y.T. writes:

> I'm currently brute-forcing it with two for-loops where I calculate
> the distance between every single element and every single "other"
> element and then finding the minimum. Needless to say this takes about
> a metric forever and I figured you folks usually have really clever
> ideas so I'm throwing this out here to see whether there isn't some
> obscure usage of histogram that does exactly what I want...

And I'll steal an IDL T-shirt from the IDL Workbench Seminar
next Tuesday for the first person who's solution runs in
less than, say, 10 seconds! Be sure to specify your size. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JBIU utilities - release 1.0
Next Topic: AVI file with RLE compression

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

Current Time: Sat Oct 11 03:23:41 PDT 2025

Total time taken to generate the page: 1.03978 seconds