ILNumerics Ultimate VS

ConcreteRetArray<T1, LocalT, InT, OutT, RetT, StorageT>.GetHashCode Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Generate a hash code based on the current arrays values

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public override int GetHashCode()

Return Value

Type: Int32
Hash code
Remarks

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 hash tables, which make great use of such hash codes.

[ILNumerics Core Module]

See Also

Reference