215 SUBROUTINE ztrttf( TRANSR, UPLO, N, A, LDA, ARF, INFO )
222 CHARACTER TRANSR, UPLO
226 COMPLEX*16 A( 0: LDA-1, 0: * ), ARF( 0: * )
234 LOGICAL LOWER, NISODD, NORMALTRANSR
235 INTEGER I, IJ, J, K, L, N1, N2, NT, NX2, NP1X2
245 INTRINSIC dconjg, max, mod
252 normaltransr = lsame( transr,
'N' )
253 lower = lsame( uplo,
'L' )
254 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
256 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
258 ELSE IF( n.LT.0 )
THEN
260 ELSE IF( lda.LT.max( 1, n ) )
THEN
264 CALL xerbla(
'ZTRTTF', -info )
272 IF( normaltransr )
THEN
275 arf( 0 ) = dconjg( a( 0, 0 ) )
299 IF( mod( n, 2 ).EQ.0 )
THEN
314 IF( normaltransr )
THEN
327 arf( ij ) = dconjg( a( n2+j, i ) )
331 arf( ij ) = a( i, j )
345 arf( ij ) = a( i, j )
348 DO l = j - n1, n1 - 1
349 arf( ij ) = dconjg( a( j-n1, l ) )
370 arf( ij ) = dconjg( a( j, i ) )
374 arf( ij ) = a( i, n1+j )
380 arf( ij ) = dconjg( a( j, i ) )
394 arf( ij ) = dconjg( a( j, i ) )
400 arf( ij ) = a( i, j )
404 arf( ij ) = dconjg( a( n2+j, l ) )
417 IF( normaltransr )
THEN
430 arf( ij ) = dconjg( a( k+j, i ) )
434 arf( ij ) = a( i, j )
448 arf( ij ) = a( i, j )
452 arf( ij ) = dconjg( a( j-k, l ) )
473 arf( ij ) = a( i, j )
478 arf( ij ) = dconjg( a( j, i ) )
481 DO i = k + 1 + j, n - 1
482 arf( ij ) = a( i, k+1+j )
488 arf( ij ) = dconjg( a( j, i ) )
502 arf( ij ) = dconjg( a( j, i ) )
508 arf( ij ) = a( i, j )
511 DO l = k + 1 + j, n - 1
512 arf( ij ) = dconjg( a( k+1+j, l ) )
520 arf( ij ) = a( i, j )
subroutine xerbla(srname, info)
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...