Navigation

Operators and Keywords

Function List:

C++ API

Built-in Function: lambda = eig (A)
Built-in Function: lambda = eig (A, B)
Built-in Function: [V, lambda] = eig (A)
Built-in Function: [V, lambda] = eig (A, B)

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