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

Matthieu Brucher matthieu.brucher at gmail.com
Tue Apr 1 11:37:31 EDT 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://mail.python.org/pipermail/numpy-discussion/attachments/20080401/6d9ab069/attachment.html>


More information about the NumPy-Discussion mailing list