f08wsf is usually the third step in the solution of the complex generalized eigenvalue problem
The (optional) first step balances the two matrices using
f08wvf. In the second step, matrix
is reduced to upper triangular form using the
factorization routine
f08asf and this unitary transformation
is applied to matrix
by calling
f08auf.
f08wsf reduces a pair of complex matrices
, where
is triangular, to the generalized upper Hessenberg form using unitary transformations. This two-sided transformation is of the form
where
is an upper Hessenberg matrix,
is an upper triangular matrix and
and
are unitary matrices determined as products of Givens rotations. They may either be formed explicitly, or they may be postmultiplied into input matrices
and
, so that
Moler C B and Stewart G W (1973) An algorithm for generalized matrix eigenproblems SIAM J. Numer. Anal. 10 241–256
The reduction to the generalized Hessenberg form is implemented using unitary transformations which are backward stable.
Background information to multithreading can be found in the
Multithreading documentation.
This routine is usually followed by
f08xsf which implements the
algorithm for computing generalized eigenvalues of a reduced pair of matrices.
The real analogue of this routine is
f08wef.