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 Constants and Type Declarations TOnCalcDistanceEvent  
See also: OnCalcDistance  
TOnCalcDistanceEvent 

An event of type TOnCalcDistanceEvent is triggered by the methods TMatrix.CalcDistMat, TMatrix.DistanceOfObjects, and by a userdefined cluster analysis when the distance between two objects represented by Row1 and Row2 of the matrix is to be calculated and the mode of the distance calculation is dmUserDef. The parameter Sender points to the TMatrix instance which triggered the event. The variable parameter Distance has to be used to return the distance between the two objects.
