mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 00:38:39 +00:00
10 lines
287 B
C
10 lines
287 B
C
#ifndef VECUTILS_H
|
|
#define VECUTILS_H
|
|
|
|
float VectorL2SquaredDistance(int dim, float *ax, float *bx);
|
|
float VectorInnerProduct(int dim, float *ax, float *bx);
|
|
double VectorCosineSimilarity(int dim, float *ax, float *bx);
|
|
float VectorL1Distance(int dim, float *ax, float *bx);
|
|
|
|
#endif
|