[Numpy-discussion] Does Numpy's covariance function numpy.cov() work for complex data?

2007-07-04 Thread Rudolph van der Merwe
.conj()) ) -- Rudolph van der Merwe ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Expected behavior of numpy object arrays. Is this a bug?

2007-05-17 Thread Rudolph van der Merwe
Robert, Thanks for the suggestion on creating an empty object array first (of the needed shape) and then assigning the entries. It works like a charm. Rudolph On 5/17/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Rudolph van der Merwe wrote: > > Can someone please confirm if t

[Numpy-discussion] Expected behavior of numpy object arrays. Is this a bug?

2007-05-17 Thread Rudolph van der Merwe
1 2], [5 6 7]], dtype=object) >>> oa1[0] array([1, 2]) >>> oa1[0].dtype dtype('int32') >>> oa1[1] array([5, 6, 7]) >>> oa1[1].dtype dtype('int32') >>> oa2 array([[1, 2], [3, 4]], dtype=object) >>> oa2[0] array([1, 2], dty