Ponca  911e152b8d5ac5c934a260b3832f7f62800b65b9
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 16 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 19 of file hashset.h.