1ZUNGTR(1)                LAPACK routine (version 3.2)                ZUNGTR(1)
2
3
4

NAME

6       ZUNGTR  -  generates a complex unitary matrix Q which is defined as the
7       product of n-1 elementary reflectors of order N, as returned by ZHETRD
8

SYNOPSIS

10       SUBROUTINE ZUNGTR( UPLO, N, A, LDA, TAU, WORK, LWORK, INFO )
11
12           CHARACTER      UPLO
13
14           INTEGER        INFO, LDA, LWORK, N
15
16           COMPLEX*16     A( LDA, * ), TAU( * ), WORK( * )
17

PURPOSE

19       ZUNGTR generates a complex unitary matrix Q which  is  defined  as  the
20       product of n-1 elementary reflectors of order N, as returned by ZHETRD:
21       if UPLO = 'U', Q = H(n-1) . . . H(2) H(1),
22       if UPLO = 'L', Q = H(1) H(2) . . . H(n-1).
23

ARGUMENTS

25       UPLO    (input) CHARACTER*1
26               = 'U': Upper triangle of A contains elementary reflectors  from
27               ZHETRD;  = 'L': Lower triangle of A contains elementary reflec‐
28               tors from ZHETRD.
29
30       N       (input) INTEGER
31               The order of the matrix Q. N >= 0.
32
33       A       (input/output) COMPLEX*16 array, dimension (LDA,N)
34               On entry, the vectors which define the  elementary  reflectors,
35               as returned by ZHETRD.  On exit, the N-by-N unitary matrix Q.
36
37       LDA     (input) INTEGER
38               The leading dimension of the array A. LDA >= N.
39
40       TAU     (input) COMPLEX*16 array, dimension (N-1)
41               TAU(i) must contain the scalar factor of the elementary reflec‐
42               tor H(i), as returned by ZHETRD.
43
44       WORK    (workspace/output) COMPLEX*16 array, dimension (MAX(1,LWORK))
45               On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
46
47       LWORK   (input) INTEGER
48               The dimension of the array WORK. LWORK  >=  N-1.   For  optimum
49               performance  LWORK  >= (N-1)*NB, where NB is the optimal block‐
50               size.  If LWORK = -1, then a workspace query  is  assumed;  the
51               routine  only  calculates  the  optimal size of the WORK array,
52               returns this value as the first entry of the WORK array, and no
53               error message related to LWORK is issued by XERBLA.
54
55       INFO    (output) INTEGER
56               = 0:  successful exit
57               < 0:  if INFO = -i, the i-th argument had an illegal value
58
59
60
61 LAPACK routine (version 3.2)    November 2008                       ZUNGTR(1)
Impressum