EuclideanDistance

Declaration: TVector.EuclideanDistance (OtherVec: TVector): double;
The function EuclideanDistance calculates and returns the Euclidean distance between two points in n-dimensional space, given by the two vectors self and OtherVec. If the dimensions of the two vectors do not match, an exception is generated ('vectors have different dimensions').