[Numpy-discussion] linalg.eigh() newbie doubt
gordon
nodrogbrown at gmail.com
Tue Apr 1 11:31:24 EDT 2008
> The normalized eigenvector corresponding to the eigenvalue w[i]
> is the column v[:,i].
> so, yes, the eigvec coresponding to the eigval w[i] is v[:,i].
Lorenzo
sorry i don't understand
from the above sample(unordered)
if i select the the 4th eigenvalue i get 1.7
evals[3]=1.7
i believe the corresponding eigenvector should be the 4th column in
evectors?
[6.
7.
5.
4.
4.
4.]
but the notation evectors[:3] will give me an ndarray of shape(3,6)
Am i missing something here?
thanks
gordon
More information about the NumPy-Discussion
mailing list