Aardvark.Base


HashCode

Static members

Static memberDescription
Combine(a, b)
Signature: (a:uint32 * b:uint32) -> int
Combine(a, b)
Signature: (a:int * b:uint32) -> int
Combine(a, b)
Signature: (a:uint32 * b:int) -> int
Combine(a, b)
Signature: (a:int * b:int) -> int
Combine(a, b)
Signature: (a:int64 * b:int) -> int
Combine(a, b)
Signature: (a:int * b:int64) -> int
Combine(a, b)
Signature: (a:int64 * b:int64) -> int
Combine(a, b, rest)
Signature: (a:int * b:int * rest:int []) -> int
Get16(x, y, z, w, hca)
Signature: (x:float * y:float * z:float * w:float * hca:int []) -> unit

Compute all 16 possible hashcodes for hashing in a 4-D unit grid. Retrive all items with the 16 hashodes written into the supplied array. Items need to be added just with the first of the 16 hashcodes (also computed by function HashCodeGet1of16).

Get16(point, hca)
Signature: (point:V4d * hca:int []) -> unit

Compute all 16 possible hashcodes for hashing in a 4-D unit grid. Retrive all items with the 16 hashodes written into the supplied array. Items need to be added just with the first of the 16 hashcodes (also computed by function HashCodeGet1of16).

Get1of16(x, y, z, w)
Signature: (x:float * y:float * z:float * w:float) -> int

Compute the first of 16 possible hashcodes for hashing in a 4-D unit grid. Add items with this function, retrieve with function HashCode.Get16.

Get1of16(point)
Signature: point:V4d -> int

Compute the first of 16 possible hashcodes for hashing in a 4-D unit grid. Add items with this function, retrieve with function HashCode.Get16.

Get1of2(x)
Signature: x:float -> int

Compute the first of two possible hashcodes for hashing in a 1-D unit grid. Add items with this function, retrieve with function HashCode.Get2.

Get1of4(x, y)
Signature: (x:float * y:float) -> int

Compute the first of four possible hashcodes for hashing in a 2-D unit grid. Add items with this function, retrieve with function HashCode.Get4.

Get1of4(point)
Signature: point:V2d -> int

Compute the first of four possible hashcodes for hashing in a 2-D unit grid. Add items with this function, retrieve with function HashCode.Get4.

Get1of8(x, y, z)
Signature: (x:float * y:float * z:float) -> int

Compute the first of eight possible hashcodes for hashing in a 3-D unit grid. Add items with this function, retrieve with function HashCode.Get8.

Get1of8(point)
Signature: point:V3d -> int

Compute the first of eight possible hashcodes for hashing in a 3-D unit grid. Add items with this function, retrieve with function HashCode.Get8.

Get2(x, hca)
Signature: (x:float * hca:int []) -> unit

Compute all two possible hashcodes for hashing in a 1-D unit grid. Retrive all items with the two hashodes written into the supplied array. Items need to be added just with the first of the two hashcodes (also computed by function HashCodeGet1of2).

Get4(x, y, hca)
Signature: (x:float * y:float * hca:int []) -> unit

Compute all four possible hashcodes for hashing in a 2-D unit grid. Retrive all items with the four hashodes written into the supplied array. Items need to be added just with the first of the four hashcodes (also computed by function HashCodeGet1of4).

Get4(point, hca)
Signature: (point:V2d * hca:int []) -> unit

Compute all four possible hashcodes for hashing in a 2-D unit grid. Retrive all items with the four hashodes written into the supplied array. Items need to be added just with the first of the four hashcodes (also computed by function HashCodeGet1of4).

Get8(x, y, z, hca)
Signature: (x:float * y:float * z:float * hca:int []) -> unit

Compute all eight possible hashcodes for hashing in a 3-D unit grid. Retrive all items with the eight hashodes written into the supplied array. Items need to be added just with the first of the eight hashcodes (also computed by function HashCodeGet1of2).

Get8(point, hca)
Signature: (point:V3d * hca:int []) -> unit

Compute all eight possible hashcodes for hashing in a 3-D unit grid. Retrive all items with the eight hashodes written into the supplied array. Items need to be added just with the first of the eight hashcodes (also computed by function HashCodeGet1of2).

GetCombined(e0, e1)
Signature: (e0:'T0 * e1:'T1) -> int
Type parameters: 'T0, 'T1
GetCombined(e0, e1, e2)
Signature: (e0:'T0 * e1:'T1 * e2:'T2) -> int
Type parameters: 'T0, 'T1, 'T2
GetCombined(e0, e1, e2, e3)
Signature: (e0:'T0 * e1:'T1 * e2:'T2 * e3:'T3) -> int
Type parameters: 'T0, 'T1, 'T2, 'T3
GetCombined(e0, e1, e2, e3, e4)
Signature: (e0:'T0 * e1:'T1 * e2:'T2 * e3:'T3 * e4:'T4) -> int
Type parameters: 'T0, 'T1, 'T2, 'T3, 'T4
GetCombinedHashCode(items)
Signature: items:IEnumerable<'T> -> int
Type parameters: 'T

Compute the combined hash code of an IEnumerable of items.

GetCombinedHashCode(array)
Signature: (array:'T []) -> int
Type parameters: 'T

Compute the combined hash code of an array of items (explicit implementation in order to be faster than IEnumerable version).

GetCombinedHashCode(array, count)
Signature: (array:'T [] * count:int64) -> int
Type parameters: 'T

Compute the combined hash code of an array of items (explicit implementation in order to be faster than IEnumerable version).

GetCombinedHashCode(array, first, count)
Signature: (array:'T [] * first:int64 * count:int64) -> int
Type parameters: 'T

Compute the combined hash code of an array of items (explicit implementation in order to be faster than IEnumerable version).

GetCombinedWithDefaultZero(e0, e1)
Signature: (e0:'T0 * e1:'T1) -> int
Type parameters: 'T0, 'T1
GetCombinedWithDefaultZero(e0, e1, e2)
Signature: (e0:'T0 * e1:'T1 * e2:'T2) -> int
Type parameters: 'T0, 'T1, 'T2
GetCombinedWithDefaultZero(...)
Signature: (e0:'T0 * e1:'T1 * e2:'T2 * e3:'T3) -> int
Type parameters: 'T0, 'T1, 'T2, 'T3
UCombine(a, b)
Signature: (a:int * b:int) -> uint32
UCombine(a, b)
Signature: (a:uint32 * b:int) -> uint32
UCombine(a, b)
Signature: (a:int * b:uint32) -> uint32
UCombine(a, b)
Signature: (a:uint32 * b:uint32) -> uint32
Fork me on GitHub