cvflann::MinkowskiDistance< T > Struct Template Reference
#include <dist.h>
Public Types
Public Member Functions
template<typename Iterator1 , typename Iterator2 >
template<typename U , typename V >
Public Attributes
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
template<class T>
template<typename U , typename V >
const V &
b,
)
const
inline
Partial distance, used by the kd-tree.
template<class T>
template<typename Iterator1 , typename Iterator2 >
Iterator2
b,
size_t
size,
)
const
inline
Compute the Minkowsky (L_p) distance between two vectors.
This is highly optimised, with loop unrolling, as it is one of the most expensive inner loops.
The computation of squared root at the end is omitted for efficiency.
Member Data Documentation
The documentation for this struct was generated from the following file: