|
ExRandom
3.0
|
Some auxiliary functions related to normal and exponential distributions. More...
#include <exrandom/aux_info.hpp>
Static Public Member Functions | |
| static double | pi () |
| static double | cumulative_uniform (double x) |
| static double | cumulative_exponential (double x) |
| static double | cumulative_normal (double x) |
| static double | uniform_entropy () |
| static double | exponential_entropy () |
| static double | normal_entropy () |
| static double | uniform_mean_exponent () |
| static double | exponential_mean_exponent () |
| static double | normal_mean_exponent () |
| template<typename param_type > | |
| static double | discrete_normal_prob (const param_type &p, int i, double norm=1) |
| template<typename param_type > | |
| static double | discrete_normal_norm (const param_type &p, double &H) |
Some auxiliary functions related to normal and exponential distributions.
These are implemented as static functions. These are only needed to implement the chi-squared tests and to compute the cost and toll of the algorithms.
Definition at line 28 of file aux_info.hpp.
|
inlinestatic |
Definition at line 33 of file aux_info.hpp.
|
inlinestatic |
The cumulative uniform function.
| x |
Definition at line 41 of file aux_info.hpp.
|
inlinestatic |
The cumulative exponential function.
| x |
Definition at line 50 of file aux_info.hpp.
|
inlinestatic |
The cumulative normal function.
| x |
Definition at line 60 of file aux_info.hpp.
|
inlinestatic |
Definition at line 66 of file aux_info.hpp.
|
inlinestatic |
Definition at line 71 of file aux_info.hpp.
|
inlinestatic |
Definition at line 76 of file aux_info.hpp.
|
inlinestatic |
Definition at line 82 of file aux_info.hpp.
|
inlinestatic |
Definition at line 88 of file aux_info.hpp.
|
inlinestatic |
Definition at line 104 of file aux_info.hpp.
|
inlinestatic |
| param_type | the type of the discrete_normal_dist::param_type. |
| p | the parameters for the discrete_normal_dist. |
| i | |
| norm | the normalizing constant. |
Definition at line 126 of file aux_info.hpp.
|
inlinestatic |
| param_type | the type of the discrete_normal_dist::param_type. |
| p | the parameters for the discrete_normal_dist. |
| H | the entropy of the distribution. |
Definition at line 139 of file aux_info.hpp.