193 SUBROUTINE dtrttf( TRANSR, UPLO, N, A, LDA, ARF, INFO )
200 CHARACTER TRANSR, UPLO
204 DOUBLE PRECISION A( 0: LDA-1, 0: * ), ARF( 0: * )
211 LOGICAL LOWER, NISODD, NORMALTRANSR
212 INTEGER I, IJ, J, K, L, N1, N2, NT, NX2, NP1X2
229 normaltransr = lsame( transr,
'N' )
230 lower = lsame( uplo,
'L' )
231 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'T' ) )
THEN
233 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
235 ELSE IF( n.LT.0 )
THEN
237 ELSE IF( lda.LT.max( 1, n ) )
THEN
241 CALL xerbla(
'DTRTTF', -info )
272 IF( mod( n, 2 ).EQ.0 )
THEN
287 IF( normaltransr )
THEN
298 arf( ij ) = a( n2+j, i )
302 arf( ij ) = a( i, j )
314 arf( ij ) = a( i, j )
317 DO l = j - n1, n1 - 1
318 arf( ij ) = a( j-n1, l )
337 arf( ij ) = a( j, i )
341 arf( ij ) = a( i, n1+j )
347 arf( ij ) = a( j, i )
359 arf( ij ) = a( j, i )
365 arf( ij ) = a( i, j )
369 arf( ij ) = a( n2+j, l )
382 IF( normaltransr )
THEN
393 arf( ij ) = a( k+j, i )
397 arf( ij ) = a( i, j )
409 arf( ij ) = a( i, j )
413 arf( ij ) = a( j-k, l )
432 arf( ij ) = a( i, j )
437 arf( ij ) = a( j, i )
440 DO i = k + 1 + j, n - 1
441 arf( ij ) = a( i, k+1+j )
447 arf( ij ) = a( j, i )
459 arf( ij ) = a( j, i )
465 arf( ij ) = a( i, j )
468 DO l = k + 1 + j, n - 1
469 arf( ij ) = a( k+1+j, l )
475 arf( ij ) = a( i, j )
subroutine xerbla(srname, info)
subroutine dtrttf(transr, uplo, n, a, lda, arf, info)
DTRTTF copies a triangular matrix from the standard full format (TR) to the rectangular full packed f...