libDAI
|
Defines various function objects. More...
Go to the source code of this file.
Classes | |
struct | dai::fo_id< T > |
Function object that returns the value itself. More... | |
struct | dai::fo_abs< T > |
Function object that takes the absolute value. More... | |
struct | dai::fo_exp< T > |
Function object that takes the exponent. More... | |
struct | dai::fo_log< T > |
Function object that takes the logarithm. More... | |
struct | dai::fo_log0< T > |
Function object that takes the logarithm, except that log(0) is defined to be 0. More... | |
struct | dai::fo_inv< T > |
Function object that takes the inverse. More... | |
struct | dai::fo_inv0< T > |
Function object that takes the inverse, except that 1/0 is defined to be 0. More... | |
struct | dai::fo_plog0p< T > |
Function object that returns p*log0(p) More... | |
struct | dai::fo_divides0< T > |
Function object similar to std::divides(), but different in that dividing by zero results in zero. More... | |
struct | dai::fo_KL< T > |
Function object useful for calculating the KL distance. More... | |
struct | dai::fo_Hellinger< T > |
Function object useful for calculating the Hellinger distance. More... | |
struct | dai::fo_pow< T > |
Function object that returns x to the power y. More... | |
struct | dai::fo_max< T > |
Function object that returns the maximum of two values. More... | |
struct | dai::fo_min< T > |
Function object that returns the minimum of two values. More... | |
struct | dai::fo_absdiff< T > |
Function object that returns the absolute difference of x and y. More... |
Namespaces | |
namespace | dai |
Namespace for libDAI. |
Defines various function objects.