205 SUBROUTINE ctfttp( TRANSR, UPLO, N, ARF, AP, INFO )
212 CHARACTER TRANSR, UPLO
216 COMPLEX AP( 0: * ), ARF( 0: * )
224 LOGICAL LOWER, NISODD, NORMALTRANSR
225 INTEGER N1, N2, K, NT
227 INTEGER IJP, JP, LDA, JS
246 normaltransr = lsame( transr,
'N' )
247 lower = lsame( uplo,
'L' )
248 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
250 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
252 ELSE IF( n.LT.0 )
THEN
256 CALL xerbla(
'CTFTTP', -info )
266 IF( normaltransr )
THEN
269 ap( 0 ) = conjg( arf( 0 ) )
294 IF( mod( n, 2 ).EQ.0 )
THEN
305 IF( .NOT.normaltransr )
314 IF( normaltransr )
THEN
329 ap( ijp ) = arf( ij )
337 ap( ijp ) = conjg( arf( ij ) )
352 ap( ijp ) = conjg( arf( ij ) )
361 ap( ijp ) = arf( ij )
381 DO ij = i*( lda+1 ), n*lda - 1, lda
382 ap( ijp ) = conjg( arf( ij ) )
388 DO ij = js, js + n2 - j - 1
389 ap( ijp ) = arf( ij )
405 ap( ijp ) = arf( ij )
411 DO ij = i, i + ( n1+i )*lda, lda
412 ap( ijp ) = conjg( arf( ij ) )
425 IF( normaltransr )
THEN
440 ap( ijp ) = arf( ij )
448 ap( ijp ) = conjg( arf( ij ) )
463 ap( ijp ) = conjg( arf( ij ) )
472 ap( ijp ) = arf( ij )
492 DO ij = i + ( i+1 )*lda, ( n+1 )*lda - 1, lda
493 ap( ijp ) = conjg( arf( ij ) )
499 DO ij = js, js + k - j - 1
500 ap( ijp ) = arf( ij )
516 ap( ijp ) = arf( ij )
522 DO ij = i, i + ( k+i )*lda, lda
523 ap( ijp ) = conjg( arf( ij ) )
subroutine ctfttp(transr, uplo, n, arf, ap, info)
CTFTTP copies a triangular matrix from the rectangular full packed format (TF) to the standard packed...