DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
2-Dimensional Arrays
TMatrix
Events
OnCalcDistance
See also:
CalcDistMat
,
DistanceOfObjects
Index
Statistical Background
OnCalcDistance
Declaration:
TMatrix
.
OnCalcDistance
:
TOnCalcDistanceEvent
;
{ TOnCalcDistanceEvent = procedure (Sender: TObject; Row1, Row2: integer; var Distance: double); }
The event
OnCalcDistance
is triggered by the methods
CalcDistMat
and
DistanceOfObjects
when the distance between two objects is to be calculated for user-defined distance measures.