113 SUBROUTINE zung2l( M, N, K, A, LDA, TAU, WORK, INFO )
120 INTEGER INFO, K, LDA, M, N
123 COMPLEX*16 A( LDA, * ), TAU( * ), WORK( * )
130 parameter( one = ( 1.0d+0, 0.0d+0 ),
131 $ zero = ( 0.0d+0, 0.0d+0 ) )
149 ELSE IF( n.LT.0 .OR. n.GT.m )
THEN
151 ELSE IF( k.LT.0 .OR. k.GT.n )
THEN
153 ELSE IF( lda.LT.max( 1, m ) )
THEN
157 CALL xerbla(
'ZUNG2L', -info )
180 a( m-n+ii, ii ) = one
181 CALL zlarf(
'Left', m-n+ii, ii-1, a( 1, ii ), 1, tau( i ), a,
183 CALL zscal( m-n+ii-1, -tau( i ), a( 1, ii ), 1 )
184 a( m-n+ii, ii ) = one - tau( i )
188 DO 30 l = m - n + ii + 1, m
subroutine xerbla(srname, info)
subroutine zlarf(side, m, n, v, incv, tau, c, ldc, work)
ZLARF applies an elementary reflector to a general rectangular matrix.
subroutine zscal(n, za, zx, incx)
ZSCAL
subroutine zung2l(m, n, k, a, lda, tau, work, info)
ZUNG2L generates all or part of the unitary matrix Q from a QL factorization determined by cgeqlf (un...