Module distance

Module distance 

Source

Modulesยง

cos ๐Ÿ”’
dot ๐Ÿ”’
l2sq ๐Ÿ”’

Macrosยง

define_distance_function ๐Ÿ”’

Structsยง

CosDistanceFunction ๐Ÿ”’
A function calculates the distance between two vectors.
DotProductFunction ๐Ÿ”’
A function calculates the distance between two vectors.
L2SqDistanceFunction ๐Ÿ”’
A function calculates the distance between two vectors.

Constantsยง

VEC_COS_DISTANCE
VEC_DOT_PRODUCT
VEC_L2SQ_DISTANCE