183 SUBROUTINE stpttf( TRANSR, UPLO, N, AP, ARF, INFO )
190 CHARACTER TRANSR, UPLO
194 REAL AP( 0: * ), ARF( 0: * )
201 LOGICAL LOWER, NISODD, NORMALTRANSR
202 INTEGER N1, N2, K, NT
204 INTEGER IJP, JP, LDA, JS
221 normaltransr = lsame( transr,
'N' )
222 lower = lsame( uplo,
'L' )
223 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'T' ) )
THEN
225 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
227 ELSE IF( n.LT.0 )
THEN
231 CALL xerbla(
'STPTTF', -info )
241 IF( normaltransr )
THEN
269 IF( mod( n, 2 ).EQ.0 )
THEN
280 IF( .NOT.normaltransr )
289 IF( normaltransr )
THEN
302 arf( ij ) = ap( ijp )
310 arf( ij ) = ap( ijp )
323 arf( ij ) = ap( ijp )
332 arf( ij ) = ap( ijp )
350 DO ij = i*( lda+1 ), n*lda - 1, lda
351 arf( ij ) = ap( ijp )
357 DO ij = js, js + n2 - j - 1
358 arf( ij ) = ap( ijp )
372 arf( ij ) = ap( ijp )
378 DO ij = i, i + ( n1+i )*lda, lda
379 arf( ij ) = ap( ijp )
392 IF( normaltransr )
THEN
405 arf( ij ) = ap( ijp )
413 arf( ij ) = ap( ijp )
426 arf( ij ) = ap( ijp )
435 arf( ij ) = ap( ijp )
453 DO ij = i + ( i+1 )*lda, ( n+1 )*lda - 1, lda
454 arf( ij ) = ap( ijp )
460 DO ij = js, js + k - j - 1
461 arf( ij ) = ap( ijp )
475 arf( ij ) = ap( ijp )
481 DO ij = i, i + ( k+i )*lda, lda
482 arf( ij ) = ap( ijp )
subroutine stpttf(transr, uplo, n, ap, arf, info)
STPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed...