//! This submodule provides some basic similarity measures
//!
//! It supports sparse vectors from `sprs` which seems to be the most popular
//! library for sparse algebra.
use CsVecOwned;
/// Type for a similarity function
pub type Similarity = fn ;
/// Cosine similarity between two vectors.
///
/// Returns zero if one of the vectors is zero.