keyHash
Create a hash code for a dictionary key.
📝Syntax
H = keyHash(A)
📥Input Arguments
Parameter Description
A array
📤Output Arguments
Parameter Description
H scalar: uint64, Hash code.
📄Description

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.

💡Examples
keyHash({'a', 'b', 1})
keyHash({1, 'a', 'b'})
🔗See Also
keyMatch
🕔Version History
Version Description
1.5.0 initial version
Edit this page on GitHub