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

NAME

6       ZTZRZF  -  the  M-by-N  (  M<=N ) complex upper trapezoidal matrix A to
7       upper triangular form by means of unitary transformations
8

SYNOPSIS

10       SUBROUTINE ZTZRZF( M, N, A, LDA, TAU, WORK, LWORK, INFO )
11
12           INTEGER        INFO, LDA, LWORK, M, N
13
14           COMPLEX*16     A( LDA, * ), TAU( * ), WORK( * )
15

PURPOSE

17       ZTZRZF reduces the M-by-N ( M<=N ) complex upper trapezoidal  matrix  A
18       to upper triangular form by means of unitary transformations.
19
20       The upper trapezoidal matrix A is factored as
21
22          A = ( R  0 ) * Z,
23
24       where Z is an N-by-N unitary matrix and R is an M-by-M upper triangular
25       matrix.
26
27

ARGUMENTS

29       M       (input) INTEGER
30               The number of rows of the matrix A.  M >= 0.
31
32       N       (input) INTEGER
33               The number of columns of the matrix A.  N >= M.
34
35       A       (input/output) COMPLEX*16 array, dimension (LDA,N)
36               On entry, the leading M-by-N  upper  trapezoidal  part  of  the
37               array A must contain the matrix to be factorized.  On exit, the
38               leading M-by-M upper triangular part of A  contains  the  upper
39               triangular  matrix R, and elements M+1 to N of the first M rows
40               of A, with the array TAU, represent the unitary matrix Z  as  a
41               product of M elementary reflectors.
42
43       LDA     (input) INTEGER
44               The leading dimension of the array A.  LDA >= max(1,M).
45
46       TAU     (output) COMPLEX*16 array, dimension (M)
47               The scalar factors of the elementary reflectors.
48
49       WORK    (workspace/output) COMPLEX*16 array, dimension (MAX(1,LWORK))
50               On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
51
52       LWORK   (input) INTEGER
53               The dimension of the array WORK.  LWORK >= max(1,M).  For opti‐
54               mum performance LWORK >= M*NB, where NB is the  optimal  block‐
55               size.
56
57               If  LWORK  = -1, then a workspace query is assumed; the routine
58               only calculates the optimal size of  the  WORK  array,  returns
59               this  value  as the first entry of the WORK array, and no error
60               message related to LWORK is issued by XERBLA.
61
62       INFO    (output) INTEGER
63               = 0:  successful exit
64               < 0:  if INFO = -i, the i-th argument had an illegal value
65

FURTHER DETAILS

67       Based on contributions by
68         A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA
69
70       The factorization is obtained by Householder's method.  The kth  trans‐
71       formation matrix, Z( k ), which is used to introduce zeros into the ( m
72       - k + 1 )th row of A, is given in the form
73
74          Z( k ) = ( I     0   ),
75                   ( 0  T( k ) )
76
77       where
78
79          T( k ) = I - tau*u( k )*u( k )',   u( k ) = (   1    ),
80                                                      (   0    )
81                                                      ( z( k ) )
82
83       tau is a scalar and z( k ) is an ( n - m ) element vector.  tau and  z(
84       k ) are chosen to annihilate the elements of the kth row of X.
85
86       The  scalar tau is returned in the kth element of TAU and the vector u(
87       k ) in the kth row of A, such that the elements of z( k ) are in  a( k,
88       m  +  1  ), ..., a( k, n ). The elements of R are returned in the upper
89       triangular part of A.
90
91       Z is given by
92
93          Z =  Z( 1 ) * Z( 2 ) * ... * Z( m ).
94
95
96
97
98 LAPACK routine (version 3.1)    November 2006                       ZTZRZF(1)
Impressum