gspec(G)

NAME
gspec - eigenvalues of matrix pencil

CALLING SEQUENCE
[al,be]=gspec(A,E)
[al,be,Z]=gspec(A,E)

PARAMETERS

A, E
    : real square matrices

al, be
    : real vectors

Z   : real square non-singular matrix

DESCRIPTION
returns the spectrum of the matrix pencil
s E - A, i.e. the roots of the polynomial matrix s E - A.
The eigenvalues are given by al./be and if be(i) = 0 the ith
eigenvalue is at infinity. (For E = eye(A), al./be is spec(A)).

returns in addition the matrix Z of generalized
right eigenvectors of the pencil.

SEE ALSO
gschur, balanc, spec.