L2 square distance. More...
#include <kgraph-data.h>
Static Public Member Functions | |
| template<typename T > | |
| static float | apply (T const *t1, T const *t2, unsigned dim) |
| L2 square distance. | |
| template<typename T > | |
| static float | dot (T const *t1, T const *t2, unsigned dim) |
| inner product. | |
| template<typename T > | |
| static float | norm2 (T const *t1, unsigned dim) |
| L2 norm. | |
L2 square distance.
1.8.5