Function object that returns the absolute difference of x and y. More...
#include <dai/prob.h>
Public Member Functions | |
T | operator() (const T &x, const T &y) const |
Returns abs( x - y ). |
Function object that returns the absolute difference of x and y.
T dai::fo_absdiff< T >::operator() | ( | const T & | x, | |
const T & | y | |||
) | const [inline] |
Returns abs( x - y ).