f08nb – Computes all eigenvalues and, optionally, left and/or right eigenvectors of a real nonsymmetric matrix; also, optionally, the balancing transformation, the reciprocal condition numbers for the eigenvalues
and for the right eigenvectors

f08np – Computes all eigenvalues and, optionally, left and/or right eigenvectors of a complex nonsymmetric matrix; also, optionally,
the balancing transformation, the reciprocal condition numbers for the eigenvalues and for the right eigenvectors

f08wb – Computes, for a real nonsymmetric matrix pair, the generalized eigenvalues, and optionally, the left and/or right generalized eigenvectors; also,
optionally, the balancing transformation, the reciprocal condition numbers for the eigenvalues and for the right eigenvectors

f08wp – Computes, for a complex nonsymmetric matrix pair, the generalized eigenvalues, and optionally, the left and/or right generalized
eigenvectors; also, optionally, the balancing transformation, the reciprocal condition numbers for the eigenvalues and for
the right eigenvectors