F08FUF (ZUNMTR) multiplies an arbitrary complex matrix
by the complex unitary matrix
which was determined by
F08FSF (ZHETRD) when reducing a complex Hermitian matrix to tridiagonal form.
SUBROUTINE F08FUF ( |
SIDE, UPLO, TRANS, M, N, A, LDA, TAU, C, LDC, WORK, LWORK, INFO) |
INTEGER |
M, N, LDA, LDC, LWORK, INFO |
COMPLEX (KIND=nag_wp) |
A(LDA,*), TAU(*), C(LDC,*), WORK(max(1,LWORK)) |
CHARACTER(1) |
SIDE, UPLO, TRANS |
|
F08FUF (ZUNMTR) is intended to be used after a call to
F08FSF (ZHETRD), which reduces a complex Hermitian matrix
to real symmetric tridiagonal form
by a unitary similarity transformation:
.
F08FSF (ZHETRD) 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
F08FGF (DORMTR).
This example computes the two smallest eigenvalues, and the associated eigenvectors, of the matrix
, where
Here
is Hermitian and must first be reduced to tridiagonal form
by
F08FSF (ZHETRD). The program then calls
F08JJF (DSTEBZ) to compute the requested eigenvalues and
F08JXF (ZSTEIN) to compute the associated eigenvectors of
. Finally F08FUF (ZUNMTR) is called to transform the eigenvectors to those of
.