Function cmb_random_uniform
Defined in File cmb_random.h
Function Documentation
-
static inline double cmb_random_uniform(const double min, const double max)
Continuous uniform distribution on the interval
[min, max].Often used in lack of any other information about a distribution than the endpoints. Assuming a uniform distribution between may then be reasonable, but see also
cmb_random_triangular,cmb_random_PERT, andcmb_random_PERT_modas other possible empirical distributions.See also https://en.wikipedia.org/wiki/Continuous_uniform_distribution