Computes all pairwise Hamming distances for a binary matrix \(\mathbf{X}\).
getHammingDistance(X)
The \(N \times P\) binary matrix
A length \({N \choose 2}\) vector of pairwise Hamming distances
Dependencies: hamming_bitwise from fast_dist_calc.cpp