|
VaneDB 0.1.0
Embeddable vector database for edge AI
|
Namespaces | |
| namespace | detail |
| namespace | gpu |
| namespace | logging |
Classes | |
| class | DistanceComputer |
| class | HNSWIndex |
| struct | HNSWSearchResult |
| class | MMapVectorStore |
| class | MMapVectorStoreBuilder |
| struct | SearchResult |
| class | VectorStore |
Typedefs | |
| using | HNSWDistanceMetric = DistanceMetric |
Enumerations | |
| enum class | DistanceMetric { L2 = 0 , COSINE = 1 , DOT = 2 } |
Functions | |
| float | hsum (float32x4_t v) noexcept |
| float | hsum (__m256 v) noexcept |
| float | l2_sq (const float *__restrict__ a, const float *__restrict__ b, size_t n) noexcept |
| float | dot_product (const float *__restrict__ a, const float *__restrict__ b, size_t n) noexcept |
| float | cosine_distance (const float *__restrict__ a, const float *__restrict__ b, size_t n) noexcept |
| constexpr int | version_number () |
| Returns the version as a single integer for comparison. | |
Variables | |
| constexpr float | COSINE_EPSILON = 1e-12f |
| constexpr int | VERSION_MAJOR = 0 |
| Major version number. | |
| constexpr int | VERSION_MINOR = 1 |
| Minor version number. | |
| constexpr int | VERSION_PATCH = 0 |
| Patch version number. | |
| constexpr const char * | VERSION_STRING = "0.1.0" |
| Full version string. | |
| using vanedb::HNSWDistanceMetric = typedef DistanceMetric |
Definition at line 12 of file distance_strategy.h.
|
strong |
| Enumerator | |
|---|---|
| L2 | |
| COSINE | |
| DOT | |
Definition at line 10 of file distance_strategy.h.
|
inlinenoexcept |
Definition at line 99 of file distance.h.
References COSINE_EPSILON, and hsum().
Referenced by vanedb::DistanceComputer::operator()().
|
inlinenoexcept |
Definition at line 77 of file distance.h.
References hsum().
Referenced by vanedb::DistanceComputer::operator()().
|
inlinenoexcept |
Definition at line 39 of file distance.h.
|
inlinenoexcept |
Definition at line 28 of file distance.h.
Referenced by cosine_distance(), dot_product(), and l2_sq().
|
inlinenoexcept |
Definition at line 49 of file distance.h.
References hsum().
Referenced by vanedb::DistanceComputer::operator()().
|
constexpr |
Returns the version as a single integer for comparison.
Format: MAJOR * 10000 + MINOR * 100 + PATCH Example: 0.1.0 = 100
Definition at line 26 of file version.h.
References VERSION_MAJOR, VERSION_MINOR, and VERSION_PATCH.
|
inlineconstexpr |
Definition at line 25 of file distance.h.
Referenced by cosine_distance().
|
constexpr |
|
constexpr |
|
constexpr |