gives the squared Euclidean distance between vectors u and v.
- SquaredEuclideanDistance[u,v] is equivalent to Norm[u-v]2. »
Examplesopen allclose all
Basic Examples (2)
Properties & Relations (4)
SquaredEuclideanDistance is equivalent to the squared Norm of a difference:
The square root of SquaredEuclideanDistance is EuclideanDistance:
Variance as a SquaredEuclideanDistance from the Mean:
SquaredEuclideanDistance computed from RootMeanSquare of a difference:
Wolfram Research (2007), SquaredEuclideanDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/SquaredEuclideanDistance.html.
Wolfram Language. 2007. "SquaredEuclideanDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SquaredEuclideanDistance.html.
Wolfram Language. (2007). SquaredEuclideanDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SquaredEuclideanDistance.html