Namespace for Nabo.
More...
|
| template<typename T , typename A , typename B > |
| T | dist2 (const A &v0, const B &v1) |
| | Euclidean distance. More...
|
| |
| template<typename IndexType > |
| constexpr IndexType | invalidIndex () |
| |
| template<typename ValueType > |
| constexpr ValueType | invalidValue () |
| |
|
| template<typename T , typename CloudType > |
| size_t | argMax (const typename NearestNeighbourSearch< T, CloudType >::Vector &v) |
| | Return the index of the maximum value of a vector of positive values. More...
|
| |
| template<typename T > |
| T | getStorageBitCount (T v) |
| | Return the number of bit required to store a value. More...
|
| |
◆ argMax()
template<typename T , typename CloudType >
Return the index of the maximum value of a vector of positive values.
- Parameters
-
| v | vector of positive values |
- Returns
- index of maximum value, 0 if the vector is empty
Definition at line 45 of file experimental/kdtree_cpu.cpp.
◆ getStorageBitCount()
template<typename T >
| T Nabo::getStorageBitCount |
( |
T |
v | ) |
|
Return the number of bit required to store a value.
- Parameters
-
- Returns
- number of bits required
Definition at line 61 of file nabo/kdtree_cpu.cpp.