213 SUBROUTINE ztrttf( TRANSR, UPLO, N, A, LDA, ARF, INFO )
220 CHARACTER TRANSR, UPLO
224 COMPLEX*16 A( 0: LDA-1, 0: * ), ARF( 0: * )
232 LOGICAL LOWER, NISODD, NORMALTRANSR
233 INTEGER I, IJ, J, K, L, N1, N2, NT, NX2, NP1X2
243 INTRINSIC dconjg, max, mod
250 normaltransr = lsame( transr,
'N' )
251 lower = lsame( uplo,
'L' )
252 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
254 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
256 ELSE IF( n.LT.0 )
THEN
258 ELSE IF( lda.LT.max( 1, n ) )
THEN
262 CALL xerbla(
'ZTRTTF', -info )
270 IF( normaltransr )
THEN
273 arf( 0 ) = dconjg( a( 0, 0 ) )
297 IF( mod( n, 2 ).EQ.0 )
THEN
312 IF( normaltransr )
THEN
325 arf( ij ) = dconjg( a( n2+j, i ) )
329 arf( ij ) = a( i, j )
343 arf( ij ) = a( i, j )
346 DO l = j - n1, n1 - 1
347 arf( ij ) = dconjg( a( j-n1, l ) )
368 arf( ij ) = dconjg( a( j, i ) )
372 arf( ij ) = a( i, n1+j )
378 arf( ij ) = dconjg( a( j, i ) )
392 arf( ij ) = dconjg( a( j, i ) )
398 arf( ij ) = a( i, j )
402 arf( ij ) = dconjg( a( n2+j, l ) )
415 IF( normaltransr )
THEN
428 arf( ij ) = dconjg( a( k+j, i ) )
432 arf( ij ) = a( i, j )
446 arf( ij ) = a( i, j )
450 arf( ij ) = dconjg( a( j-k, l ) )
471 arf( ij ) = a( i, j )
476 arf( ij ) = dconjg( a( j, i ) )
479 DO i = k + 1 + j, n - 1
480 arf( ij ) = a( i, k+1+j )
486 arf( ij ) = dconjg( a( j, i ) )
500 arf( ij ) = dconjg( a( j, i ) )
506 arf( ij ) = a( i, j )
509 DO l = k + 1 + j, n - 1
510 arf( ij ) = dconjg( a( k+1+j, l ) )
518 arf( ij ) = a( i, j )
subroutine ztrttf(transr, uplo, n, a, lda, arf, info)
ZTRTTF copies a triangular matrix from the standard full format (TR) to the rectangular full packed f...