[Numpy-discussion] linalg.eigh() newbie doubt

Matthieu Brucher matthieu.brucher@gmail....
Tue Apr 1 10:37:31 CDT 2008


>
> but the notation evectors[:3] will give me an ndarray of shape(3,6)
> Am i missing something here?
>

Yes : evectors[:3] selects the first three lines, evectors[:,3] selects the
fourth column.

Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080401/6d9ab069/attachment.html 


More information about the Numpy-discussion mailing list