euclideanDistance

Calculates the Euclidean distance between this vector and another vector. The result is a non-negative value, where 0 means the vectors are identical.

Return

The Euclidean distance between the two vectors.

Parameters

other

The other vector to compare with.

Throws

if the vectors have different dimensions.