Function sqr_dist_nd

Source
pub fn sqr_dist_nd<P, U>(p1: &P, p2: &U) -> Result<f64>
where P: IsND, U: IsND,
Expand description

Returns the squared distance between two IsND in case their number of dimensions match