John Hunter wrote:
> I was surprised to see that numarray.mlab.cov is returning a rank-0
> complex number when given two 1D arrays as inputs rather than the
> standard 2x2 covariance array I am used to seeing.  Is this a feature
> or a bug?  
>   
This was the old behavior of the Numeric cov function which numarray 
borrowed.  We changed the behavior of cov in NumPy because it makes more 
sense to return the full covariance matrix in this case.

-Travis


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to