|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home MathPack Matrix Classes TIntMatrix, TMatrix and TMat3D Methods DistanceOfObjects|
|See also: CalcDistMat|
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 self 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.