Ponca  82fc77e8c6294111c6f00670e92ec58a24e2ecf2
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 constexpr T hash (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 18 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 21 of file hashset.h.