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.