Template Function beluga::detail::floor_and_fibo_hash
Defined in File spatial_hash.hpp
Function Documentation
-
template<std::size_t N, std::size_t I>
constexpr std::size_t beluga::detail::floor_and_fibo_hash(double value) Returns the hashed and rotated floor of a value.
- Template Parameters:
N – Number of bits to be used from the integer result, the least significant will be used.
I – Result will be shifted by I*N.
- Parameters:
value – Input value to be hashed.
- Returns:
The calculated result.