Function runa::math::dist_2

source · []
pub fn dist_2<M>(x: &[M::Item], y: &[M::Item]) -> M::Costwhere
    M: MetricSpace,
Expand description

Calculate the distance between two sequences O(n^2) time O(n) memory