I do not know if this is the most efficient way for matrices, but for pair-wise Hamming distance this way was the fastest I could find:
1 Like
I do not know if this is the most efficient way for matrices, but for pair-wise Hamming distance this way was the fastest I could find: