#include <dist.h>
Public Types | |
typedef T | ElementType |
typedef unsigned int | ResultType |
Public Member Functions | |
template<typename Iterator1 , typename Iterator2 > | |
ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType=0) const |
unsigned int | popcnt32 (uint32_t n) const |
unsigned int | popcnt64 (uint64_t n) const |
typedef T rtflann::Hamming< T >::ElementType |
typedef unsigned int rtflann::Hamming< T >::ResultType |
|
inline |
|
inline |
This is popcount_3() from: http://en.wikipedia.org/wiki/Hamming_weight
|
inline |