KGraph
 All Classes Namespaces Functions Pages
Static Public Member Functions | List of all members
kgraph::metric::l2sqr Struct Reference

L2 square distance. More...

#include <kgraph-data.h>

Static Public Member Functions

template<typename T >
static float apply (T const *t1, T const *t2, unsigned dim)
 L2 square distance.
 
template<typename T >
static float dot (T const *t1, T const *t2, unsigned dim)
 inner product.
 
template<typename T >
static float norm2 (T const *t1, unsigned dim)
 L2 norm.
 

Detailed Description

L2 square distance.


The documentation for this struct was generated from the following file: