#include <cmath>
#include <vector>
#include <ostream>
#include <algorithm>
#include <numeric>
#include <functional>
#include <dai/util.h>
#include <dai/exceptions.h>
Go to the source code of this file.
Namespaces | |
| namespace | dai |
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... | |
| class | dai::TProb< T > |
| Represents a vector with entries of type T. More... | |
Typedefs | |
| typedef TProb< Real > | dai::Prob |
| Represents a vector with entries of type dai::Real. | |
1.5.5