Y
Hacker News
new
|
ask
|
show
|
jobs
by
djaouen
158 days ago
Squares are preferred because that is the same as minimizing Euclidean Distance, which is defined as sqrt((x2-x1)^2).
1 comments
lucketone
158 days ago
sqrt((x2-x1)^2) == x2-x1
I think you meant sqrt(x^2+y^2)
link
I think you meant sqrt(x^2+y^2)