Skip to main content

cdist

Function cdist 

Source
pub fn cdist(
    a: &[Vec<f64>],
    b: &[Vec<f64>],
    metric: &Metric,
) -> Result<Vec<Vec<f64>>, ErrorsJSL>
Expand description

The ma × mb matrix of distances between two sets of observations (SciPy’s cdist).