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 functi
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?
>
>
> In [2]: import numarray.mlab as nam
>
> In [3]: x
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?
In [2]: import numarray.mlab as nam
In [3]: x = nam.rand(10)
In [4]: y = nam.r