libDAI
Public Member Functions | List of all members
dai::fo_Hellinger< T > Struct Template Reference

Function object useful for calculating the Hellinger distance. More...

#include <dai/prob.h>

Inherits binary_function< T, T, T >.

Public Member Functions

operator() (const T &p, const T &q) const
 Returns (sqrt(p) - sqrt(q))^2. More...
 

Detailed Description

template<typename T>
struct dai::fo_Hellinger< T >

Function object useful for calculating the Hellinger distance.

Member Function Documentation

template<typename T >
T dai::fo_Hellinger< T >::operator() ( const T &  p,
const T &  q 
) const
inline

Returns (sqrt(p) - sqrt(q))^2.


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