[Numpy-discussion] diagonalising a 2d array

Pauli Virtanen pav@iki...
Sun Apr 13 08:56:06 CDT 2008


wilson kirjoitti:
> hi
> what exactly does diagonalising a matrix mean? 

http://en.wikipedia.org/wiki/Matrix_diagonalization

> how do you do it on a symmetric numpy array?

Compute the eigenvalues and eigenvectors using numpy.linalg.eigh.

-- 
Pauli Virtanen


More information about the Numpy-discussion mailing list