[Numpy-tickets] [NumPy] #986: Von Mises draws not between -pi and pi [patch]
NumPy
numpy-tickets@scipy....
Fri Jan 16 07:11:22 CST 2009
#986: Von Mises draws not between -pi and pi [patch]
-----------------------------------------+----------------------------------
Reporter: anand | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.3.0
Component: numpy.random | Version: none
Severity: normal | Resolution:
Keywords: Von Mises, vonmises, mtrand |
-----------------------------------------+----------------------------------
Comment (by anand):
Formatted version of test:
{{{
from numpy import *
import numpy as np
import pylab as pl
for mu in arange(-4,5)*pi/2:
q=pl.hist((np.random.mtrand.vonmises(mu,1,10000)),50)
print mu
raw_input()
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/986#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list