Spatial algorithms and data structures (cupyx.scipy.spatial)#

Note

The spatial module uses pylibraft as a backend. You need to install pylibraft package <https://anaconda.org/rapidsai/pylibraft> from rapidsai Conda channel to use features listed on this page.

Note

Currently, the spatial module is not supported on AMD ROCm platforms.

Functions#

distance_matrix(x, y[, p])

Compute the distance matrix.