Information Theory

Hamming Distance

The Hamming distance hamming(a,b) between two strings and of equal length is the number of positions where the strings differ.