F08GUF (ZUPMTR) multiplies an arbitrary complex matrix
by the complex unitary matrix
which was determined by
F08GSF (ZHPTRD) when reducing a complex Hermitian matrix to tridiagonal form.
F08GUF (ZUPMTR) is intended to be used after a call to
F08GSF (ZHPTRD), which reduces a complex Hermitian matrix
to real symmetric tridiagonal form
by a unitary similarity transformation:
.
F08GSF (ZHPTRD) represents the unitary 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 complex rectangular matrix).
The computed result differs from the exact result by a matrix
such that
where
is the
machine precision.
The real analogue of this routine is
F08GGF (DOPMTR).
This example computes the two smallest eigenvalues, and the associated eigenvectors, of the matrix
, where
using packed storage. Here
is Hermitian and must first be reduced to tridiagonal form
by
F08GSF (ZHPTRD). The program then calls
F08JJF (DSTEBZ) to compute the requested eigenvalues and
F08JXF (ZSTEIN) to compute the associated eigenvectors of
. Finally F08GUF (ZUPMTR) is called to transform the eigenvectors to those of
.