random.gauss vs. random.normalvariate
Alan G Isaac
alan.isaac at gmail.com
Sat Aug 15 22:54:37 CEST 2009
> On Aug 15, 12:49 pm, Alan G Isaac <alan.is... at gmail.com> wrote:
>> Gaussian distribution. mu is the mean, and sigma is the
>> standard deviation. This is slightly faster than the
>> normalvariate() function defined below.
>> So since both are offered and gauss is faster, I assume it
>> must have some offsetting disadvantage. What is it?
On 8/15/2009 4:26 PM Carl Banks apparently wrote:
> random.gauss is not thread safe.
> I'm kind of surprised the html docs don't mention this; the docstring
More information about the Python-list