template<class T>
struct rtflann::L2< T >
Squared Euclidean distance functor, optimized version
Definition at line 133 of file dist.h.
template<class T>
template<typename U , typename V >
Partial euclidean distance, using just one dimension. This is used by the kd-tree when computing partial distances while traversing the tree.
Squared root is omitted for efficiency.
Definition at line 186 of file dist.h.
template<class T>
template<typename Iterator1 , typename Iterator2 >
Compute the squared Euclidean 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.
Definition at line 150 of file dist.h.