lshkit::metric::l2sqr< T > Class Template ReferenceSqured L2 distance.
List of all members.
Public Member Functions
||l2sqr (unsigned dim)|
float ||operator() (const T *first1, const T *first2) const |
Squred L2 distance.
class lshkit::metric::l2sqr< T >
The square root operation is costly. For K-NN search, l2sqr gives the same ranking as l2.
The documentation for this class was generated from the following file: