Hamming norm of a vector
- Parameters
-
| a | pointer to vector data |
| n | length of a vector |
| cellSize | how many bits of the vector will be added and treated as a single bit, can be 1 (standard Hamming distance), 2 or 4 |
| result | pointer to result output |
Hamming distance between two vectors
- Parameters
-
| a | pointer to first vector data |
| b | pointer to second vector data |
| n | length of vectors |
| cellSize | how many bits of the vectors will be added and treated as a single bit, can be 1 (standard Hamming distance), 2 or 4 |
| result | pointer to result output |