185 SUBROUTINE stpttf( TRANSR, UPLO, N, AP, ARF, INFO )
192 CHARACTER TRANSR, UPLO
196 REAL AP( 0: * ), ARF( 0: * )
203 LOGICAL LOWER, NISODD, NORMALTRANSR
204 INTEGER N1, N2, K, NT
206 INTEGER IJP, JP, LDA, JS
223 normaltransr = lsame( transr,
'N' )
224 lower = lsame( uplo,
'L' )
225 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'T' ) )
THEN
227 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
229 ELSE IF( n.LT.0 )
THEN
233 CALL xerbla(
'STPTTF', -info )
243 IF( normaltransr )
THEN
271 IF( mod( n, 2 ).EQ.0 )
THEN
282 IF( .NOT.normaltransr )
291 IF( normaltransr )
THEN
304 arf( ij ) = ap( ijp )
312 arf( ij ) = ap( ijp )
325 arf( ij ) = ap( ijp )
334 arf( ij ) = ap( ijp )
352 DO ij = i*( lda+1 ), n*lda - 1, lda
353 arf( ij ) = ap( ijp )
359 DO ij = js, js + n2 - j - 1
360 arf( ij ) = ap( ijp )
374 arf( ij ) = ap( ijp )
380 DO ij = i, i + ( n1+i )*lda, lda
381 arf( ij ) = ap( ijp )
394 IF( normaltransr )
THEN
407 arf( ij ) = ap( ijp )
415 arf( ij ) = ap( ijp )
428 arf( ij ) = ap( ijp )
437 arf( ij ) = ap( ijp )
455 DO ij = i + ( i+1 )*lda, ( n+1 )*lda - 1, lda
456 arf( ij ) = ap( ijp )
462 DO ij = js, js + k - j - 1
463 arf( ij ) = ap( ijp )
477 arf( ij ) = ap( ijp )
483 DO ij = i, i + ( k+i )*lda, lda
484 arf( ij ) = ap( ijp )
subroutine xerbla(srname, info)
subroutine stpttf(transr, uplo, n, ap, arf, info)
STPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed...