F08FTF (ZUNGTR) generates the complex unitary matrix
, which was determined by
F08FSF (ZHETRD) when reducing a Hermitian matrix to tridiagonal form.
F08FTF (ZUNGTR) 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.
The computed matrix
differs from an exactly unitary matrix by a matrix
such that
where
is the
machine precision.
F08FTF (ZUNGTR) is threaded by NAG for parallel execution in multithreaded implementations of the NAG Library.
F08FTF (ZUNGTR) makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
The real analogue of this routine is
F08FFF (DORGTR).
This example computes all the eigenvalues and eigenvectors of the matrix
, where
Here
is Hermitian and must first be reduced to tridiagonal form by
F08FSF (ZHETRD). The program then calls F08FTF (ZUNGTR) to form
, and passes this matrix to
F08JSF (ZSTEQR) which computes the eigenvalues and eigenvectors of
.