Compute the eigenvalues (and optionally the eigenvectors) of a matrix or a pair of matrices
The algorithm used depends on whether there are one or two input matrices, if they are real or complex, and if they are symmetric (Hermitian if complex) or non-symmetric.
The eigenvalues returned by eig
are not ordered.
See also: eigs, svd.
Package: octave