Definition at line 2285 of file random.
|
Constructs a gamma distribution with parameters Definition at line 2297 of file random. References _GLIBCXX_DEBUG_ASSERT. |
|
Gets the |
|
Cheng's rejection algorithm GB for alpha >= 1 and a modification of Vaduva's rejection from Weibull algorithm due to Devroye for alpha < 1. References: Cheng, R. C. "The Generation of Gamma Random Variables with Non-integral Shape Parameter." Applied Statistics, 26, 71-75, 1977. Vaduva, I. "Computer Generation of Gamma Gandom Variables by Rejection and Composition Procedures." Math. Operationsforschung and Statistik, Series in Statistics, 8, 545-576, 1977. Devroye, L. "Non-Uniform Random Variates Generation." Springer-Verlag, New York, 1986, Ch. IX, Sect. 3.4 (+ Errata!). Definition at line 1471 of file random.tcc. References std::exp(), std::log(), and std::pow(). |
|
Resets the distribution. |
|
Inserts a gamma_distribution random number distribution
|
|
Extracts a gamma_distribution random number distribution
|