Function cmb_random_std_normal

Function Documentation

static inline double cmb_random_std_normal(void)

Standard normal distribution on (-oo, oo) with mean 0 and standard deviation 0.

Uses an implementation of McFarland’s improved ziggurat method.

See also https://en.wikipedia.org/wiki/Normal_distribution