WLJS LogoWLJS Notebook

NormalizedSquaredEuclideanDistance

NormalizedSquaredEuclideanDistance[u, v] gives the normalized squared Euclidean distance between vectors u and v.

Examples

Compute normalized squared distance:

NormalizedSquaredEuclideanDistance[{1, 2, 3}, {4, 5, 6}]

Distance between identical vectors:

NormalizedSquaredEuclideanDistance[{1, 1, 1}, {1, 1, 1}]

Please visit the official Wolfram Language Reference for more details.

On this page