131 SUBROUTINE sgeqr2p( M, N, A, LDA, TAU, WORK, INFO )
138 INTEGER INFO, LDA, M, N
141 REAL A( LDA, * ), TAU( * ), WORK( * )
162 ELSE IF( n.LT.0 )
THEN
164 ELSE IF( lda.LT.max( 1, m ) )
THEN
168 CALL xerbla(
'SGEQR2P', -info )
178 CALL slarfgp( m-i+1, a( i, i ), a( min( i+1, m ), i ), 1,
184 CALL slarf1f(
'Left', m-i+1, n-i, a( i, i ), 1, tau( i ),
185 $ a( i, i+1 ), lda, work )
subroutine sgeqr2p(m, n, a, lda, tau, work, info)
SGEQR2P computes the QR factorization of a general rectangular matrix with non-negative diagonal elem...
subroutine slarfgp(n, alpha, x, incx, tau)
SLARFGP generates an elementary reflector (Householder matrix) with non-negative beta.
subroutine slarf1f(side, m, n, v, incv, tau, c, ldc, work)
SLARF1F applies an elementary reflector to a general rectangular