finding euclidean distance,better code?
castironpi at gmail.com
castironpi at gmail.com
Fri Mar 28 15:20:22 EDT 2008
On Mar 28, 10:15 am, harryos <oswald.ha... at gmail.com> wrote:
> > The code is pretty legible as it is now. Anyway, using min() and a
> > generator:
>
> hi
> is this calculated distance really Euclidean distance? When i checked
> wikipediahttp://en.wikipedia.org/wiki/Euclidean_distance
> it shows a calculation involving sum of squares of the differences of
> elements.Here in this code ,the sum of coordinates are used? is that a
> different measure?
I want the angle into an array. > < sign bit on distance to [zero
element/kernel]. Are you coming out in uni-pole and/or lensed/focused/
parabolaed? Is that a yes-or-no question?
More information about the Python-list
mailing list