Re: [Numpy-discussion] multiply a lign matrix with a column matrix should return a scalar( matlab yes, numpy no)!!!

2010-02-03 Thread Nikolas Tezak
Hi Laurent, I'm not sure why this was implemented this way (probably due to numerical precision, because the numpy datatypes offer a greater variety than python), but in any case you can easily convert the result to a float: >>> float(line*col) 10 (You probably knew this, but well... :) ) R

[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