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 Math2 Type Declarations TCalcDistFunc  
See also: MathFeedBackProc  
TCalcDistFunc 

The procedure type TCalcDistFunc is used to calculate the distance between the test vector DatVec and a data matrix entry when searching for the k nearest neighbors by the procedure FindNearestNeighbors. The parameter ix points to the current row of the data matrix InMat. The function has to return the distance between the matrix entry in row ix and the test vector DatVec.
