Serhiy Storchaka added the comment: Here is an implementation which is more precise for small and large kappa, doesn't hang for large kappa, and even a little faster. It is mathematically totally equivalent to existing, but use more accurate calculations.
---------- keywords: +patch Added file: http://bugs.python.org/file28985/random_vonmisesvariate.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17141> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com