138 SUBROUTINE zgelqt( M, N, MB, A, LDA, T, LDT, WORK, INFO )
145 INTEGER INFO, LDA, LDT, M, N, MB
148 COMPLEX*16 A( LDA, * ), T( LDT, * ), WORK( * )
155 INTEGER I, IB, IINFO, K
167 ELSE IF( n.LT.0 )
THEN
169 ELSE IF( mb.LT.1 .OR. (mb.GT.min(m,n) .AND. min(m,n).GT.0 ))
THEN
171 ELSE IF( lda.LT.max( 1, m ) )
THEN
173 ELSE IF( ldt.LT.mb )
THEN
177 CALL xerbla(
'ZGELQT', -info )
189 ib = min( k-i+1, mb )
193 CALL zgelqt3( ib, n-i+1, a(i,i), lda, t(1,i), ldt, iinfo )
198 CALL zlarfb(
'R',
'N',
'F',
'R', m-i-ib+1, n-i+1, ib,
199 $ a( i, i ), lda, t( 1, i ), ldt,
200 $ a( i+ib, i ), lda, work , m-i-ib+1 )
subroutine xerbla(srname, info)
recursive subroutine zgelqt3(m, n, a, lda, t, ldt, info)
ZGELQT3 recursively computes a LQ factorization of a general real or complex matrix using the compact...
subroutine zgelqt(m, n, mb, a, lda, t, ldt, work, info)
ZGELQT
subroutine zlarfb(side, trans, direct, storev, m, n, k, v, ldv, t, ldt, c, ldc, work, ldwork)
ZLARFB applies a block reflector or its conjugate-transpose to a general rectangular matrix.