The function uses an explicit shift, and, like
f08jec, switches between the
and
variants in order to handle graded matrices effectively (see
Greenbaum and Dongarra (1980)).
Greenbaum A and Dongarra J J (1980) Experiments with QR/QL methods for the symmetric triangular eigenproblem
LAPACK Working Note No. 17 (Technical Report CS-89-92) University of Tennessee, Knoxville
https://www.netlib.org/lapack/lawnspdf/lawn17.pdf
The computed eigenvalues are exact for a nearby matrix
, where
and
is the
machine precision.
If
is an exact eigenvalue and
is the corresponding computed value, then
where
is a modestly increasing function of
.
There is no complex analogue of this function.
This example computes all the eigenvalues of the symmetric tridiagonal matrix
, where