215 SUBROUTINE ctfttr( TRANSR, UPLO, N, ARF, A, LDA, INFO )
222 CHARACTER TRANSR, UPLO
226 COMPLEX A( 0: LDA-1, 0: * ), ARF( 0: * )
234 LOGICAL LOWER, NISODD, NORMALTRANSR
235 INTEGER N1, N2, K, NT, NX2, NP1X2
246 INTRINSIC conjg, max, mod
253 normaltransr = lsame( transr,
'N' )
254 lower = lsame( uplo,
'L' )
255 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
257 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
259 ELSE IF( n.LT.0 )
THEN
261 ELSE IF( lda.LT.max( 1, n ) )
THEN
265 CALL xerbla(
'CTFTTR', -info )
273 IF( normaltransr )
THEN
276 a( 0, 0 ) = conjg( arf( 0 ) )
300 IF( mod( n, 2 ).EQ.0 )
THEN
315 IF( normaltransr )
THEN
328 a( n2+j, i ) = conjg( arf( ij ) )
332 a( i, j ) = arf( ij )
346 a( i, j ) = arf( ij )
349 DO l = j - n1, n1 - 1
350 a( j-n1, l ) = conjg( arf( ij ) )
371 a( j, i ) = conjg( arf( ij ) )
375 a( i, n1+j ) = arf( ij )
381 a( j, i ) = conjg( arf( ij ) )
395 a( j, i ) = conjg( arf( ij ) )
401 a( i, j ) = arf( ij )
405 a( n2+j, l ) = conjg( arf( ij ) )
418 IF( normaltransr )
THEN
431 a( k+j, i ) = conjg( arf( ij ) )
435 a( i, j ) = arf( ij )
449 a( i, j ) = arf( ij )
453 a( j-k, l ) = conjg( arf( ij ) )
474 a( i, j ) = arf( ij )
479 a( j, i ) = conjg( arf( ij ) )
482 DO i = k + 1 + j, n - 1
483 a( i, k+1+j ) = arf( ij )
489 a( j, i ) = conjg( arf( ij ) )
503 a( j, i ) = conjg( arf( ij ) )
509 a( i, j ) = arf( ij )
512 DO l = k + 1 + j, n - 1
513 a( k+1+j, l ) = conjg( arf( ij ) )
521 a( i, j ) = arf( ij )
subroutine xerbla(srname, info)
subroutine ctfttr(transr, uplo, n, arf, a, lda, info)
CTFTTR copies a triangular matrix from the rectangular full packed format (TF) to the standard full f...