Docs.rs
distances-1.6.3
distances 1.6.3
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
ndaniels
Dependencies
rand ^0.8.5
normal
criterion ^0.5.1
dev
test-case ^3.2.1
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
distances
1.6.3
In distances::simd
?
Function
distances
::
simd
::
cosine_f64
source
·
[
−
]
pub fn cosine_f64(a: &[
f64
], b: &[
f64
]) ->
f64
Expand description
Computes the cosine distance between two vectors.