sample
Draws a single random value from this chi-squared distribution.
Delegates to the Gamma distribution with shape = df/2 and rate = 0.5, which is mathematically equivalent.
Return
a random non-negative value drawn from this distribution.
Parameters
random
the source of randomness.