Skip to main content

pdist

Function pdist 

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

The condensed distance matrix of m observations (SciPy’s pdist): the m(m − 1)/2 distances d(i, j) for i < j, in row order.