floating-distance 0.3.1

Measure distance between floating-point vectors in Rust
Documentation
1
2
3
4
5
6
7
8
9
use std::mem::size_of;

mod cosine;
mod euclidean;
mod inner_product;
mod manhattan;

pub const MAX_LANE_COUNT_PER_INSTR: usize =
  512 / 8 / size_of::<f64>();