DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


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').