Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
djaouen
· 10mo ago · 0 comments
Squares are preferred because that is the same as minimizing Euclidean Distance, which is defined as sqrt((x2-x1)^2).
Comments
[–]
lucketone
10mo ago
sqrt((x2-x1)^2) == x2-x1
I think you meant sqrt(x^2+y^2)