get_dist_two_sets function

Calculate the pairwise Euclidean distances between the rows of 2 matrices.

Calculate the pairwise Euclidean distances between the rows of 2 matrices.

get_dist_two_sets(set1, set2)

Arguments

  • set1: A numerical matrix.
  • set2: A numerical matrix.

Returns

A matrix of pairwise distances between the rows of 2 matrices.