Ponca  4d2a58fa5c6375adef5c4b208f4d47e016cecd6d
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::HashDefaultFunctor< N, T > Struct Template Reference
+ Collaboration diagram for Ponca::HashDefaultFunctor< N, T >:

Static Public Member Functions

static constexprhash (const int _x)
 The default hashing function : (abs(x) * 2654435761u) % N.
 

Detailed Description

template<int N, typename T = int>
struct Ponca::HashDefaultFunctor< N, T >

Definition at line 17 of file hashset.h.

Member Function Documentation

◆ hash()

template<int N, typename T = int>
static constexpr T Ponca::HashDefaultFunctor< N, T >::hash ( const int  _x)
inlinestaticconstexpr

The default hashing function : (abs(x) * 2654435761u) % N.

Definition at line 20 of file hashset.h.