sample
Draws a single random value from this Beta distribution.
Generates two independent Gamma-distributed samples (one with shape alpha, one with shape beta) and returns their ratio. This is the standard method for Beta sampling.
Return
a random value in the interval (0, 1).
Parameters
random
the source of randomness.