pub fn cdist( a: &[Vec<f64>], b: &[Vec<f64>], metric: &Metric, ) -> Result<Vec<Vec<f64>>, ErrorsJSL>
The ma × mb matrix of distances between two sets of observations (SciPy’s cdist).
ma × mb
cdist