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

NAME

6       CGEQLF - a QL factorization of a complex M-by-N matrix A
7

SYNOPSIS

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

PURPOSE

16       CGEQLF  computes a QL factorization of a complex M-by-N matrix A: A = Q
17       * L.
18
19

ARGUMENTS

21       M       (input) INTEGER
22               The number of rows of the matrix A.  M >= 0.
23
24       N       (input) INTEGER
25               The number of columns of the matrix A.  N >= 0.
26
27       A       (input/output) COMPLEX array, dimension (LDA,N)
28               On entry, the M-by-N matrix A.  On exit, if m >= n,  the  lower
29               triangle  of  the  subarray  A(m-n+1:m,1:n) contains the N-by-N
30               lower triangular matrix L; if m <= n, the elements on and below
31               the (n-m)-th superdiagonal contain the M-by-N lower trapezoidal
32               matrix L; the remaining elements, with the array TAU, represent
33               the unitary matrix Q as a product of elementary reflectors (see
34               Further Details).  LDA     (input) INTEGER The  leading  dimen‐
35               sion of the array A.  LDA >= max(1,M).
36
37       TAU     (output) COMPLEX array, dimension (min(M,N))
38               The  scalar  factors  of the elementary reflectors (see Further
39               Details).
40
41       WORK    (workspace/output) COMPLEX array, dimension (MAX(1,LWORK))
42               On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
43
44       LWORK   (input) INTEGER
45               The dimension of the array WORK.  LWORK >= max(1,N).  For opti‐
46               mum  performance  LWORK >= N*NB, where NB is the optimal block‐
47               size.
48
49               If LWORK = -1, then a workspace query is assumed;  the  routine
50               only  calculates  the  optimal  size of the WORK array, returns
51               this value as the first entry of the WORK array, and  no  error
52               message related to LWORK is issued by XERBLA.
53
54       INFO    (output) INTEGER
55               = 0:  successful exit
56               < 0:  if INFO = -i, the i-th argument had an illegal value
57

FURTHER DETAILS

59       The matrix Q is represented as a product of elementary reflectors
60
61          Q = H(k) . . . H(2) H(1), where k = min(m,n).
62
63       Each H(i) has the form
64
65          H(i) = I - tau * v * v'
66
67       where  tau  is  a  complex  scalar, and v is a complex vector with v(m-
68       k+i+1:m) = 0 and v(m-k+i) = 1; v(1:m-k+i-1) is stored on exit in A(1:m-
69       k+i-1,n-k+i), and tau in TAU(i).
70
71
72
73
74 LAPACK routine (version 3.1)    November 2006                       CGEQLF(1)
Impressum