[Numpy-tickets] [NumPy] #724: numpy.ma.std and var should match numpy.std and var behaviour
NumPy
numpy-tickets@scipy....
Mon Apr 7 00:48:15 CDT 2008
#724: numpy.ma.std and var should match numpy.std and var behaviour
---------------------+------------------------------------------------------
Reporter: stefan | Owner: somebody
Type: task | Status: new
Priority: normal | Milestone: 1.0.5
Component: Other | Version: none
Severity: blocker | Keywords:
---------------------+------------------------------------------------------
Quoting from the mailing list:
{{{
numpy.ma has the functions
"stdu" and "varu", for computing the unbiased standard deviation and
variance (where one divides by N-1 rather than N). These are now
available in numpy via std and var with ddof=1. More seriously, they
still provide the peculiar older definition of var, where
varu([1,1.j,-1,-1.j])==0.
}}}
Update numpy.ma.var and std to accept ddof parameter, and to work
correctly with complex numbers. Remove stdu and varu from numpy.ma.
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/724>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list