squareDistance

Returns the sum of squared differences of the two vectors.

Throws

if the vectors' dimensions differ.


Returns the sum of squared differences of the two vectors.