hammingDist(a,b)
finds the hamming distance between two vectors a
and b
.
hammingDist(a, b)
Arguments
a |
first vector |
b |
second vector |
Value
Hamming distance between a
and b
Details
The hamming distance is the number of elements that differs between
two arrays.