[inline]
Generate a beta distributed random variate.
This function returns a pseudo-random variate drawn from the beta distribution described by the shape parameters a and b.