The function DistanceOfObjects calculates the multivariate distance between the objects obj1 and obj2. The parameter Mode defines the type of distance to be calculated.
Please note that the rows of the matrix are regarded as objects, the columns as variables.
If the parameter Mode is set to dmUserDef an OnCalcDistance event is triggered. This way the user may create any kind of distance measure.