|
Contents | Previous | Next | Subchapters |
| Syntax |
symeig(z) |
| See Also | eigsym , svd , qred , cholesky |
This routine uses an SVD factorization to
compute the eigenvectors. The routine eigsym
computes the eigenvectors directly.
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.