Hamming distance (source code)

= Hamming distance
{c}
{title2=$d_H$}
{wiki}

The Hamming distance between two equal-length words is the number of coordinates in which they differ.