Definition at line 1916 of file random.
|
A rejection algorithm when t * p >= 8 and a simple waiting time method - the second in the referenced book - otherwise. NB: The former is available only if _GLIBCXX_USE_C99_MATH_TR1 is defined. Reference: Devroye, L. "Non-Uniform Random Variates Generation." Springer-Verlag, New York, 1986, Ch. X, Sect. 4 (+ Errata!). Definition at line 1131 of file random.tcc. References std::abs(), std::numeric_limits< _Tp >::epsilon(), std::floor(), std::log(), and std::numeric_limits< _Tp >::max(). |
|
Gets the distribution |
|
Gets the distribution |
|
Inserts a binomial_distribution random number distribution
|
|
Extracts a binomial_distribution random number distribution
|