207 SUBROUTINE ctfttp( TRANSR, UPLO, N, ARF, AP, INFO )
214 CHARACTER TRANSR, UPLO
218 COMPLEX AP( 0: * ), ARF( 0: * )
226 LOGICAL LOWER, NISODD, NORMALTRANSR
227 INTEGER N1, N2, K, NT
229 INTEGER IJP, JP, LDA, JS
248 normaltransr = lsame( transr,
'N' )
249 lower = lsame( uplo,
'L' )
250 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
252 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
254 ELSE IF( n.LT.0 )
THEN
258 CALL xerbla(
'CTFTTP', -info )
268 IF( normaltransr )
THEN
271 ap( 0 ) = conjg( arf( 0 ) )
296 IF( mod( n, 2 ).EQ.0 )
THEN
307 IF( .NOT.normaltransr )
316 IF( normaltransr )
THEN
331 ap( ijp ) = arf( ij )
339 ap( ijp ) = conjg( arf( ij ) )
354 ap( ijp ) = conjg( arf( ij ) )
363 ap( ijp ) = arf( ij )
383 DO ij = i*( lda+1 ), n*lda - 1, lda
384 ap( ijp ) = conjg( arf( ij ) )
390 DO ij = js, js + n2 - j - 1
391 ap( ijp ) = arf( ij )
407 ap( ijp ) = arf( ij )
413 DO ij = i, i + ( n1+i )*lda, lda
414 ap( ijp ) = conjg( arf( ij ) )
427 IF( normaltransr )
THEN
442 ap( ijp ) = arf( ij )
450 ap( ijp ) = conjg( arf( ij ) )
465 ap( ijp ) = conjg( arf( ij ) )
474 ap( ijp ) = arf( ij )
494 DO ij = i + ( i+1 )*lda, ( n+1 )*lda - 1, lda
495 ap( ijp ) = conjg( arf( ij ) )
501 DO ij = js, js + k - j - 1
502 ap( ijp ) = arf( ij )
518 ap( ijp ) = arf( ij )
524 DO ij = i, i + ( k+i )*lda, lda
525 ap( ijp ) = conjg( arf( ij ) )
subroutine xerbla(srname, info)
subroutine ctfttp(transr, uplo, n, arf, ap, info)
CTFTTP copies a triangular matrix from the rectangular full packed format (TF) to the standard packed...