Moved halfvec distance functions to separate file [skip ci]

This commit is contained in:
Andrew Kane
2024-04-08 10:00:34 -07:00
parent c27363fbf7
commit 60b4bb2ad1
5 changed files with 115 additions and 97 deletions

9
src/halfutils.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef HALFUTILS_H
#define HALFUTILS_H
#include "halfvec.h"
double HalfvecL2DistanceSquared(HalfVector * a, HalfVector * b);
double HalfvecInnerProduct(HalfVector * a, HalfVector * b);
#endif