151 INTEGER INFO, LDA, M, N
154 REAL A( LDA, * ), D( * )
161 parameter( one = 1.0e+0 )
164 INTEGER IINFO, J, JB, NB
184 ELSE IF( n.LT.0 )
THEN
186 ELSE IF( lda.LT.max( 1, m ) )
THEN
190 CALL xerbla(
'SLAORHR_COL_GETRFNP', -info )
196 IF( min( m, n ).EQ.0 )
202 nb = ilaenv( 1,
'SLAORHR_COL_GETRFNP',
' ', m, n, -1, -1 )
204 IF( nb.LE.1 .OR. nb.GE.min( m, n ) )
THEN
213 DO j = 1, min( m, n ), nb
214 jb = min( min( m, n )-j+1, nb )
225 CALL strsm(
'Left',
'Lower',
'No transpose',
'Unit',
227 $ n-j-jb+1, one, a( j, j ), lda, a( j, j+jb ),
233 CALL sgemm(
'No transpose',
'No transpose',
235 $ n-j-jb+1, jb, -one, a( j+jb, j ), lda,
236 $ a( j, j+jb ), lda, one, a( j+jb, j+jb ),
subroutine sgemm(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc)
SGEMM
subroutine strsm(side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb)
STRSM