115 SUBROUTINE zung2l( M, N, K, A, LDA, TAU, WORK, INFO )
123 INTEGER INFO, K, LDA, M, N
126 COMPLEX*16 A( lda, * ), TAU( * ), WORK( * )
133 parameter ( one = ( 1.0d+0, 0.0d+0 ),
134 $ zero = ( 0.0d+0, 0.0d+0 ) )
152 ELSE IF( n.LT.0 .OR. n.GT.m )
THEN
154 ELSE IF( k.LT.0 .OR. k.GT.n )
THEN
156 ELSE IF( lda.LT.max( 1, m ) )
THEN
160 CALL xerbla(
'ZUNG2L', -info )
183 a( m-n+ii, ii ) = one
184 CALL zlarf(
'Left', m-n+ii, ii-1, a( 1, ii ), 1, tau( i ), a,
186 CALL zscal( m-n+ii-1, -tau( i ), a( 1, ii ), 1 )
187 a( m-n+ii, ii ) = one - tau( i )
191 DO 30 l = m - n + ii + 1, m
subroutine zlarf(SIDE, M, N, V, INCV, TAU, C, LDC, WORK)
ZLARF applies an elementary reflector to a general rectangular matrix.
subroutine xerbla(SRNAME, INFO)
XERBLA
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...
subroutine zscal(N, ZA, ZX, INCX)
ZSCAL