def paired_euclidean_distances(X, Y):
 (X, Y) = check_paired_arrays(X, Y)
 return row_norms((X - Y))

def paired_euclidean_distances ( X , Y ) : ( X , Y ) = check_paired_arrays ( X , Y ) return row_norms ( ( X - Y ) )
computes the paired euclidean distances between x and y read more in the :ref:user guide <metrics> .