[Numpy-tickets] [NumPy] #638: var should take absolute value for complex numbers.

NumPy numpy-tickets@scipy....
Sun Dec 30 21:17: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 kumanna):

 Replying to [comment:8 kumanna]:
 > > You can use {{{cov()}}} by separating the real and imaginary
 components.  {{{cov([z.real, z.imag])}}}.
 >
 > Right, what you mean. But still, I would request you to give it one more
 thought before closing my request. :-)

 I am still not satisfied with this, as I have to take the trace of the
 covariance matrix to get what I want. But if this is the way it has to be,
 so be it. :-)

 Kumar

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/638#comment:9>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list