<< isKey | Dictionaries | keyMatch >> |
H = keyHash(A) |
array
scalar: uint64, Hash code.
H = keyHash(A) returns a uint64 scalar representing the input array, A.
The keyHash function computes a hash code derived from the characteristics of the input.
For custom classes, keyHash might require overloading to guarantee proper equivalence.
keyHash({'a', 'b', 1})
keyHash({1, 'a', 'b'})
Version | Description |
---|---|
1.5.0 | initial version |
Allan CORNET