F08FFF (DORGTR) generates the real orthogonal matrix
, which was determined by
F08FEF (DSYTRD) when reducing a symmetric matrix to tridiagonal form.
F08FFF (DORGTR) is intended to be used after a call to
F08FEF (DSYTRD), which reduces a real symmetric matrix
to symmetric tridiagonal form
by an orthogonal similarity transformation:
.
F08FEF (DSYTRD) 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
F08FTF (ZUNGTR).
This example computes all the eigenvalues and eigenvectors of the matrix
, where
Here
is symmetric and must first be reduced to tridiagonal form by
F08FEF (DSYTRD). The program then calls F08FFF (DORGTR) to form
, and passes this matrix to
F08JEF (DSTEQR) which computes the eigenvalues and eigenvectors of
.