F08GGF (DOPMTR) multiplies an arbitrary real matrix
by the real orthogonal matrix
which was determined by
F08GEF (DSPTRD) when reducing a real symmetric matrix to tridiagonal form.
F08GGF (DOPMTR) 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.
This routine may be used to form one of the matrix products
overwriting the result on
(which may be any real rectangular matrix).
The computed result differs from the exact result by a matrix
such that
where
is the
machine precision.
The complex analogue of this routine is
F08GUF (ZUPMTR).
This example computes the two smallest eigenvalues, and the associated 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
F08JJF (DSTEBZ) to compute the requested eigenvalues and
F08JKF (DSTEIN) to compute the associated eigenvectors of
. Finally F08GGF (DOPMTR) is called to transform the eigenvectors to those of
.