Module rand_utils

Module rand_utils 

Source

Functionsยง

gen_inverse_gamma_random
Generates an inverse-gamma random variable with the given a and b parameters.
gen_nball_random
Generates a random vector contained in the unit dims-ball.
gen_nsphere_random
Generates a random vector on the unit dims-sphere.
generate_cauchy_random
Generates a zero-centered Cauchy random vector with the given scaling parameter and the given number of dimensions.