cr.sparse.pdist_linf_cw

cr.sparse.pdist_linf_cw(A)[source]

Computes the pairwise Chebyshev distances between points in A where each point is a column vector

Parameters

A (jax.numpy.ndarray) – A set of M K-dimensional points (column-wise)

Returns

An MxM matrix D of Chebyshev distances between points in A

Return type

(jax.numpy.ndarray)