[New-bugs-announce] [issue17149] random.vonmisesvariate() returns a value only on the half-circle

Serhiy Storchaka report at bugs.python.org
Thu Feb 7 10:51:08 CET 2013


New submission from Serhiy Storchaka:

random.vonmisesvariate(mu, kappa) returns a value in the range (mu%2pi)-pi/2 to (mu%2pi)+pi/2 for kappa > 1e-6. For kappa <= 1e-6 it returns an uniform random value over the range 0 to 2*pi.

----------
components: Library (Lib)
messages: 181588
nosy: rhettinger, serhiy.storchaka
priority: normal
severity: normal
status: open
title: random.vonmisesvariate() returns a value only on the half-circle
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17149>
_______________________________________


More information about the New-bugs-announce mailing list