scib_rapids.utils.pdist_squareform

scib_rapids.utils.pdist_squareform#

scib_rapids.utils.pdist_squareform(X)[source]#

CuPy implementation of pairwise euclidean distance matrix.

Parameters:

X (ndarray) – Array of shape (n_cells, n_features)

Return type:

ndarray

Returns:

dist Array of shape (n_cells, n_cells)