Functions to calculate the pairwise distances between vectors

gpu_dist_matrix[source]

gpu_dist_matrix(mat)

calculate the squared euclidian distance between all pairs of rows in a given matrix

component_mixture_dist_matrix[source]

component_mixture_dist_matrix(compMat, mixMat)

calculate the squared euclidian distance between pairs of rows in the two given matrices