The cosine distance (or cosine similarity). More...
Public Member Functions  
template < typename Archive >  
void  serialize (Archive &, const unsigned int) 
Serialize the class (there's nothing to save). More...  
Static Public Member Functions  
template < typename VecTypeA , typename VecTypeB >  
static double  Evaluate (const VecTypeA &a, const VecTypeB &b) 
Computes the cosine distance between two points. More...  
The cosine distance (or cosine similarity).
It is defined by
and this class assumes the standard L2 inner product.
Definition at line 31 of file cosine_distance.hpp.

static 
Computes the cosine distance between two points.
a  First vector. 
b  Second vector. 

inline 
Serialize the class (there's nothing to save).
Definition at line 46 of file cosine_distance.hpp.