[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Need Help with Distance Algorithm in Numeric
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Need Help with Distance Algorithm in Numeric
- From: Kamilche <klachemin@xxxxxxxxxxx>
- Date: Fri, 25 Mar 2005 23:58:22 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 26 Mar 2005 03:01:40 -0500
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201)
Hi all! I'm really impressed with the speed I can get out of Numeric,
but it is still a head scratcher to me. I appreciate all the help I've
gotten here... and I've come for your assistance on another little problem.
Given two lists of RGB values, for each entry in the first list, I would
like to find its 'nearest neighbor' in the second list. I can do it
manually... but I bet Numeric gurus would win THAT speed contest! :-)
Any ideas?