mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-05 04:00:55 +08:00
Moved halfvec distance functions to separate file [skip ci]
This commit is contained in:
9
src/halfutils.h
Normal file
9
src/halfutils.h
Normal 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
|
||||
Reference in New Issue
Block a user