[Numpy-tickets] [NumPy] #638: var should take absolute value for complex numbers.
NumPy
numpy-tickets@scipy....
Sun Dec 30 01:04:35 CST 2007
#638: var should take absolute value for complex numbers.
-------------------------+--------------------------------------------------
Reporter: akumar | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.5
Component: numpy.core | Version: none
Severity: normal | Resolution:
Keywords: var complex |
-------------------------+--------------------------------------------------
Comment (by rkern):
Can you point me to a reference defining the variance over complex numbers
in the way you think it is? Near as I can tell, the only meaningful
definition is the one implemented: treating complex numbers as 2-vectors
with the variance being computed over each dimension independently. The
formula you give is indeed valid for real numbers, but it does not make
sense to extend it to complex numbers without change.
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/638#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list