finding euclidean distance,better code?
steve at REMOVE-THIS-cybersource.com.au
Sat Mar 29 02:09:46 CET 2008
On Fri, 28 Mar 2008 16:59:59 +0100, Robert Bossy wrote:
> Gabriel Genellina wrote:
>> That's what I said in another paragraph. "sum of coordinates" is using
>> a different distance definition; it's the way you measure distance in a
>> city with square blocks. I don't know if the distance itself has a
>> name, but
> I think it is called Manhattan distance in reference of the walking
> distance from one point to another in this city.
You know, there are other cities than Manhattan. Some of them even have
streets and blocks.
More information about the Python-list