133 SUBROUTINE cgeqr2p( M, N, A, LDA, TAU, WORK, INFO )
140 INTEGER INFO, LDA, M, N
143 COMPLEX A( LDA, * ), TAU( * ), WORK( * )
150 parameter( one = ( 1.0e+0, 0.0e+0 ) )
160 INTRINSIC conjg, max, min
169 ELSE IF( n.LT.0 )
THEN
171 ELSE IF( lda.LT.max( 1, m ) )
THEN
175 CALL xerbla(
'CGEQR2P', -info )
185 CALL clarfgp( m-i+1, a( i, i ), a( min( i+1, m ), i ), 1,
193 CALL clarf(
'Left', m-i+1, n-i, a( i, i ), 1,
194 $ conjg( tau( i ) ), a( i, i+1 ), lda, work )
subroutine xerbla(srname, info)
subroutine cgeqr2p(m, n, a, lda, tau, work, info)
CGEQR2P computes the QR factorization of a general rectangular matrix with non-negative diagonal elem...
subroutine clarf(side, m, n, v, incv, tau, c, ldc, work)
CLARF applies an elementary reflector to a general rectangular matrix.
subroutine clarfgp(n, alpha, x, incx, tau)
CLARFGP generates an elementary reflector (Householder matrix) with non-negative beta.