|
VaneDB 0.1.0
Embeddable vector database for edge AI
|
#include <algorithm>#include <cassert>#include <cmath>#include <cstddef>Go to the source code of this file.
Namespaces | |
| namespace | vanedb |
Macros | |
| #define | RESTRICT __restrict__ |
Functions | |
| float | vanedb::hsum (float32x4_t v) noexcept |
| float | vanedb::hsum (__m256 v) noexcept |
| float | vanedb::l2_sq (const float *__restrict__ a, const float *__restrict__ b, size_t n) noexcept |
| float | vanedb::dot_product (const float *__restrict__ a, const float *__restrict__ b, size_t n) noexcept |
| float | vanedb::cosine_distance (const float *__restrict__ a, const float *__restrict__ b, size_t n) noexcept |
Variables | |
| constexpr float | vanedb::COSINE_EPSILON = 1e-12f |
| #define RESTRICT __restrict__ |
Definition at line 19 of file distance.h.