1ZUNMHR(1)                LAPACK routine (version 3.1)                ZUNMHR(1)
2
3
4

NAME

6       ZUNMHR  -  the general complex M-by-N matrix C with   SIDE = 'L' SIDE =
7       'R' TRANS = 'N'
8

SYNOPSIS

10       SUBROUTINE ZUNMHR( SIDE, TRANS, M, N, ILO, IHI, A, LDA,  TAU,  C,  LDC,
11                          WORK, LWORK, INFO )
12
13           CHARACTER      SIDE, TRANS
14
15           INTEGER        IHI, ILO, INFO, LDA, LDC, LWORK, M, N
16
17           COMPLEX*16     A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
18

PURPOSE

20       ZUNMHR overwrites the general complex M-by-N matrix C with TRANS = 'C':
21       Q**H * C       C * Q**H
22
23       where Q is a complex unitary matrix of order nq, with nq = m if SIDE  =
24       'L'  and  nq  = n if SIDE = 'R'. Q is defined as the product of IHI-ILO
25       elementary reflectors, as returned by ZGEHRD:
26
27       Q = H(ilo) H(ilo+1) . . . H(ihi-1).
28
29

ARGUMENTS

31       SIDE    (input) CHARACTER*1
32               = 'L': apply Q or Q**H from the Left;
33               = 'R': apply Q or Q**H from the Right.
34
35       TRANS   (input) CHARACTER*1
36               = 'N': apply Q  (No transpose)
37               = 'C': apply Q**H (Conjugate transpose)
38
39       M       (input) INTEGER
40               The number of rows of the matrix C. M >= 0.
41
42       N       (input) INTEGER
43               The number of columns of the matrix C. N >= 0.
44
45       ILO     (input) INTEGER
46               IHI     (input) INTEGER ILO and IHI must have the  same  values
47               as  in  the  previous  call  of  ZGEHRD. Q is equal to the unit
48               matrix except in the submatrix Q(ilo+1:ihi,ilo+1:ihi).  If SIDE
49               = 'L', then 1 <= ILO <= IHI <= M, if M > 0, and ILO = 1 and IHI
50               = 0, if M = 0; if SIDE = 'R', then 1 <= ILO <= IHI <= N, if N >
51               0, and ILO = 1 and IHI = 0, if N = 0.
52
53       A       (input) COMPLEX*16 array, dimension
54               (LDA,M)  if  SIDE = 'L' (LDA,N) if SIDE = 'R' The vectors which
55               define the elementary reflectors, as returned by ZGEHRD.
56
57       LDA     (input) INTEGER
58               The leading dimension of the array A.  LDA >= max(1,M) if  SIDE
59               = 'L'; LDA >= max(1,N) if SIDE = 'R'.
60
61       TAU     (input) COMPLEX*16 array, dimension
62               (M-1) if SIDE = 'L' (N-1) if SIDE = 'R' TAU(i) must contain the
63               scalar factor of the elementary reflector H(i), as returned  by
64               ZGEHRD.
65
66       C       (input/output) COMPLEX*16 array, dimension (LDC,N)
67               On  entry,  the  M-by-N matrix C.  On exit, C is overwritten by
68               Q*C or Q**H*C or C*Q**H or C*Q.
69
70       LDC     (input) INTEGER
71               The leading dimension of the array C. LDC >= max(1,M).
72
73       WORK    (workspace/output) COMPLEX*16 array, dimension (MAX(1,LWORK))
74               On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
75
76       LWORK   (input) INTEGER
77               The dimension of the array WORK.   If  SIDE  =  'L',  LWORK  >=
78               max(1,N);  if  SIDE = 'R', LWORK >= max(1,M).  For optimum per‐
79               formance LWORK >= N*NB if SIDE = 'L', and LWORK >= M*NB if SIDE
80               = 'R', where NB is the optimal blocksize.
81
82               If  LWORK  = -1, then a workspace query is assumed; the routine
83               only calculates the optimal size of  the  WORK  array,  returns
84               this  value  as the first entry of the WORK array, and no error
85               message related to LWORK is issued by XERBLA.
86
87       INFO    (output) INTEGER
88               = 0:  successful exit
89               < 0:  if INFO = -i, the i-th argument had an illegal value
90
91
92
93 LAPACK routine (version 3.1)    November 2006                       ZUNMHR(1)
Impressum