cr.sparse.pdist_l1_rw¶
- cr.sparse.pdist_l1_rw(A)[source]¶
Computes the pairwise city-block distances between points in A where each point is a row vector
- Parameters
A (jax.numpy.ndarray) – A set of M K-dimensional points (row-wise)
- Returns
An MxM matrix D of city-block distances between points in A
- Return type