F08GFF (DOPGTR) generates the real orthogonal matrix
, which was determined by
F08GEF (DSPTRD) when reducing a symmetric matrix to tridiagonal form.
F08GFF (DOPGTR) is intended to be used after a call to
F08GEF (DSPTRD), which reduces a real symmetric matrix
to symmetric tridiagonal form
by an orthogonal similarity transformation:
.
F08GEF (DSPTRD) represents the orthogonal matrix
as a product of
elementary reflectors.
The computed matrix
differs from an exactly orthogonal matrix by a matrix
such that
where
is the
machine precision.
The complex analogue of this routine is
F08GTF (ZUPGTR).
This example computes all the eigenvalues and eigenvectors of the matrix
, where
using packed storage. Here
is symmetric and must first be reduced to tridiagonal form by
F08GEF (DSPTRD). The program then calls F08GFF (DOPGTR) to form
, and passes this matrix to
F08JEF (DSTEQR) which computes the eigenvalues and eigenvectors of
.