Re: [Numpy-discussion] Behaviour of vdot(array2d, array1d)

2010-01-10 Thread denis
On 07/01/2010 18:51, Nikolas Tezak wrote: > However when I do this, vdot raises a ValueError complaining that the > "vectors have different lengths". Nikolas, looks like a bug, in numpy 1.4 on mac ppc too. Use dot instead -- import numpy as np x = 1j * np.ones(( 2, 3 )) y = np.ones( 3 ) try:

[Numpy-discussion] Behaviour of vdot(array2d, array1d)

2010-01-07 Thread Nikolas Tezak
Hi, I am new to this list, but I have been using scipy for a couple of months now with great satisfaction. Currently I have a problem: I diagonalize a hermitian complex matrix using the eigh routine from scipy.linalg (this is still a numpy question, see below) This returns the eigenvectors as