ILNumerics Ultimate VSILBaseArrayGetHashCode Method ILNumerics Ultimate VS Documentation
ILNumerics - The Productivity Machine
Generate a hash code based on the current arrays values

[ILNumerics Core Module]

Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: (4.14.6369.1422)

public override int GetHashCode()

Return Value

Type: Int32
Hash code

The hashcode is created by taking the values currently stored in the array into account. Therefore, the function iterates over all elements in the array - which makes it somehow an expensive operation. Take this into account, if you consider using large arrays in collections like dictionaries or hashtables, which make great use of hash codes.

[ILNumerics Core Module]

See Also