![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <dist.h>
Public Types | |
| typedef T | ElementType |
| typedef unsigned int | ResultType |
Public Member Functions | |
| unsigned int | popcnt32 (uint32_t n) const |
| unsigned int | popcnt64 (uint64_t n) const |
| template<typename Iterator1 , typename Iterator2 > | |
| ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType=0) const |
| typedef T flann::Hamming< T >::ElementType |
| typedef unsigned int flann::Hamming< T >::ResultType |
|
inline |
Definition at line 551 of file dist.h.
References flann::Hamming< T >::popcnt32(), flann::Hamming< T >::popcnt64(), result, and size.
|
inline |
This is popcount_3() from: http://en.wikipedia.org/wiki/Hamming_weight
Definition at line 536 of file dist.h.
Referenced by flann::Hamming< T >::operator()().
|
inline |
Definition at line 543 of file dist.h.
Referenced by flann::Hamming< T >::operator()().