[Numpy-discussion] Apparently non-deterministic behaviour of complex array multiplication

kneil magnetotellurics at gmail.com
Tue Dec 13 13:13:31 EST 2011


Hi Olivier, 
Sorry for the late reply - I have been on travel.  
I have encountered the error in two separate cases; when I was using numpy
arrays, and when I was using numpy matrices.
In the case of a numpy array (Y), the operation is:
dot(Y,Y.conj().transpose())
and in the case of a matrix,  with X=asmatrix(Y) and then the operation is:
X*X.H
-Karl


Olivier Delalleau-2 wrote:
> 
> I was trying to see if I could reproduce this problem, but your code fails
> with numpy 1.6.1 with:
> AttributeError: 'numpy.ndarray' object has no attribute 'H'
> Is X supposed to be a regular ndarray with dtype = 'complex128', or
> something else?
> 
> -=- Olivier
> 
> 

-- 
View this message in context: http://old.nabble.com/Apparently-non-deterministic-behaviour-of-complex-array-multiplication-tp32893004p32969114.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.




More information about the NumPy-Discussion mailing list