208 SUBROUTINE ctpttf( TRANSR, UPLO, N, AP, ARF, INFO )
216 CHARACTER TRANSR, UPLO
220 COMPLEX AP( 0: * ), ARF( 0: * )
227 LOGICAL LOWER, NISODD, NORMALTRANSR
228 INTEGER N1, N2, K, NT
230 INTEGER IJP, JP, LDA, JS
247 normaltransr = lsame( transr,
'N' )
248 lower = lsame( uplo,
'L' )
249 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
251 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
253 ELSE IF( n.LT.0 )
THEN
257 CALL xerbla(
'CTPTTF', -info )
267 IF( normaltransr )
THEN
270 arf( 0 ) = conjg( ap( 0 ) )
295 IF( mod( n, 2 ).EQ.0 )
THEN
306 IF( .NOT.normaltransr )
315 IF( normaltransr )
THEN
330 arf( ij ) = ap( ijp )
338 arf( ij ) = conjg( ap( ijp ) )
353 arf( ij ) = conjg( ap( ijp ) )
362 arf( ij ) = ap( ijp )
382 DO ij = i*( lda+1 ), n*lda - 1, lda
383 arf( ij ) = conjg( ap( ijp ) )
389 DO ij = js, js + n2 - j - 1
390 arf( ij ) = ap( ijp )
406 arf( ij ) = ap( ijp )
412 DO ij = i, i + ( n1+i )*lda, lda
413 arf( ij ) = conjg( ap( ijp ) )
426 IF( normaltransr )
THEN
441 arf( ij ) = ap( ijp )
449 arf( ij ) = conjg( ap( ijp ) )
464 arf( ij ) = conjg( ap( ijp ) )
473 arf( ij ) = ap( ijp )
493 DO ij = i + ( i+1 )*lda, ( n+1 )*lda - 1, lda
494 arf( ij ) = conjg( ap( ijp ) )
500 DO ij = js, js + k - j - 1
501 arf( ij ) = ap( ijp )
517 arf( ij ) = ap( ijp )
523 DO ij = i, i + ( k+i )*lda, lda
524 arf( ij ) = conjg( ap( ijp ) )
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine ctpttf(TRANSR, UPLO, N, AP, ARF, INFO)
CTPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed...