[issue17149] random.vonmisesvariate() results range is inconsistent for small and not small kappa
Mark Dickinson
report at bugs.python.org
Fri Feb 8 16:02:24 CET 2013
Mark Dickinson added the comment:
Agreed that this seems inconsistent. The current normalization for non-small kappa is a little odd: e.g, if mu is small and negative (-0.01, say), then we get a range that goes roughly from pi to 3*pi, when a range from -pi to pi would have made more sense.
Any of (1) returning values in the range [mu - pi, mu+pi], (2) returning values in the range [-pi, pi], or (3) returning values in the range [0, 2*pi] would seem reasonable.
Unassigning (the original problem is solved by not being there!)
----------
assignee: mark.dickinson ->
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17149>
_______________________________________
More information about the Python-bugs-list
mailing list