Parameters
double
shape
The shape (k, α) of the Gamma distribution. Range: α ≥ 0.
double
rate
The rate or inverse scale (β) of the Gamma distribution. Range: β ≥ 0.
Random
randomSource
The random number generator which is used to draw random samples.