Computes the euclidean distance between rows of a matrix X and rows of another matrix Y. Previously, this could be done by binding the two matrices together and calling 'dist', but this creates unnecessary computation by computing the distances between a row of X and another row of X, and likewise for Y. pdist strictly computes distances across the two matrices, not within the same matrix, making computations significantly faster for certain use cases.
[email protected] is safe to use (health: 49/100)
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/conda/r-pdistFirst published · 2021-05-23 09:32:36.956000+00:00
Last updated · 2025-09-23 05:06:54.157000+00:00