Initial commit

This commit is contained in:
Alex Garcia 2024-04-20 13:38:58 -07:00
commit 4c8ad629e0
28 changed files with 6758 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#include <stdlib.h>
int min_idx(
// list of distances, size n
const float *distances,
// number of entries in distances
int32_t n,
// output array of size k, the indicies of the lowest k values in distances
int32_t *out,
// output number of elements
int32_t k
);