Spatial algorithms and data structures (cupyx.scipy.spatial)#
Note
The spatial module uses the cuVS library as a backend.
You need to install cuVS package <https://anaconda.org/rapidsai/cuvs> from rapidsai Conda channel to use features listed on this page.
Note
Currently, the spatial module is not supported on AMD ROCm platforms.
Nearest-neighbor queries#
|
KDTree(data, leafsize=16, compact_nodes=True, copy_data=False, |
Delaunay triangulation#
|
Delaunay tessellation in 2 dimensions. |
Functions#
|
Compute the distance matrix. |