DimensionalHash-0.1.5: An n-dimensional hash using Morton numbers.

Data.DimensionalHash

Documentation

class (Bits a, Integral a) => MortonNumber a whereSource

Methods

dimensionalHash :: Bits a => [a] -> aSource

recursevely compute the morton number.

maxBitSize :: Bits a => [a] -> IntSource

compute max bit size for the element of the list

maxSize :: Bits a => [a] -> IntSource

compute max size for the element of the list

isHashable :: Bits a => [a] -> BoolSource

returns true if the list is hashable A list is hashable IIF for every element x the condition : x > (maxSize list) holds true.