STK_DIST computes a matrix of (Euclidean) distances CALL: D = stk_dist(X, Y) computes the matrix of distances between X and Y. More precisely, if X is an nX x d matrix, and Y an nY x d matrix, the D is an nX x nY matrix with D_{i,j} = norm(X(i,:) - Y(j,:)), where norm(.) denotes the Euclidean norm in R^d. See also: stk_mindist, stk_filldist, norm
Package: stk