Skip to content

ordeig

linear-algebra · scripts/linear-algebra/ordeig.m

: e = ordeig (T)
: e = ordeig (A, B)

Eigenvalues of a quasi-triangular matrix (or matrix pair) in the order in which they appear on the diagonal.

A nonzero subdiagonal entry T(k+1,k) marks a 2-by-2 diagonal block whose two eigenvalues are returned together (complex pairs with the positive imaginary part first). Entries above the diagonal are not inspected. For a pair the eigenvalues of A - lambda*B are returned.