floating-distance 0.3.1

Measure distance between floating-point vectors in Rust
Documentation
1
2
3
4
5
6
7
8
9
#[cfg(docsrs)]
use crate::*;

/// A type alias of [`slice`],
/// which represents a contiguous block of scalar data.
/// 
/// See also [`Metric::measure`] for
/// measuring distance between two vectors.
pub type Vector<'a, S> = &'a [S];