Contents Previous Next Subchapters

Computing The Eigenvectors Of A Symmetric Matrix
Syntax symeig(z)
See Also eigsym , svd , qred , cholesky

Description
Computes the eigenvectors of z, where z is a conjugate symmetric matrix . The return value is a unitary matrix and each of its columns is an eigenvector of z

This routine uses an SVD factorization to compute the eigenvectors. The routine eigsym computes the eigenvectors directly.

Example
     z = {[1, 1 + 1i0], [1 - 1i0, 1]}
     e = symeig(z)
     (z * e.col(1)) / e.col(1)
returns
     {
     (2.41421,0)
     (2.41421,0)
     }
Note that this demonstrates that z times the first column of e is a scalar multiple of the first column of e.