88 SUBROUTINE sdrvrf2( NOUT, NN, NVAL, A, LDA, ARF, AP, ASAV )
99 REAL ( LDA, * ), ARF( * ), AP(*), ASAV( LDA, * )
105 LOGICAL LOWER, OK1, OK2
106 CHARACTER UPLO, CFORM
107 INTEGER I, IFORM, IIN, INFO, IUPLO, J, ,
111 CHARACTER UPLOS( 2 ), FORMS( 2 )
112 INTEGER ISEED( 4 ), ( 4 )
125 COMMON / srnamc / srnamt
128 DATA iseedy / 1988, 1989, 1990, 1991 /
129 DATA uplos / 'u
', 'l
' /
130 DATA FORMS / 'n
', 't
' /
140 ISEED( I ) = ISEEDY( I )
151 UPLO = UPLOS( IUPLO )
153.EQ.
IF ( IUPLO1 ) LOWER = .FALSE.
159 CFORM = FORMS( IFORM )
165 A( I, J) = SLARND( 2, ISEED )
170 CALL STRTTF( CFORM, UPLO, N, A, LDA, ARF, INFO )
173 CALL STFTTP( CFORM, UPLO, N, ARF, AP, INFO )
176 CALL STPTTR( UPLO, N, AP, ASAV, LDA, INFO )
182.NE.
IF ( A(I,J)ASAV(I,J) ) THEN
190.NE.
IF ( A(I,J)ASAV(I,J) ) THEN
200 CALL STRTTP( UPLO, N, A, LDA, AP, INFO )
203 CALL STPTTF( CFORM, UPLO, N, AP, ARF, INFO )
206 CALL STFTTR( CFORM, UPLO, N, ARF, ASAV, LDA, INFO )
212.NE.
IF ( A(I,J)ASAV(I,J) ) THEN
220.NE.
IF ( A(I,J)ASAV(I,J) ) THEN
227.NOT..OR..NOT.
IF (( OK1 )( OK2 )) THEN
228.EQ.
IF( NERRS0 ) THEN
230 WRITE( NOUT, FMT = 9999 )
232 WRITE( NOUT, FMT = 9998 ) N, UPLO, CFORM
242.EQ.
IF ( NERRS0 ) THEN
243 WRITE( NOUT, FMT = 9997 ) NRUN
245 WRITE( NOUT, FMT = 9996 ) NERRS, NRUN
248 9999 FORMAT( 1X, ' *** error(s)
while testing
the rfp conversion
',
250 9998 FORMAT( 1X, ' error in rfp,conversion routines n=
',I5,
251 + ' uplo=
''', A1, ''', form =
''',A1,'''')
252 9997 FORMAT( 1X, 'all tests
for the rfp conversion routines passed(
',
254 9996 FORMAT( 1X, 'rfp conversion routines:
',I5,' out of
',I5,
255 + ' error message recorded
')
end diagonal values have been computed in the(sparse) matrix id.SOL
subroutine dtfttr(transr, uplo, n, arf, a, lda, info)
DTFTTR copies a triangular matrix from the rectangular full packed format (TF) to the standard full f...
subroutine dtpttf(transr, uplo, n, ap, arf, info)
DTPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed...
subroutine dtrttp(uplo, n, a, lda, ap, info)
DTRTTP copies a triangular matrix from the standard full format (TR) to the standard packed format (T...
subroutine dtfttp(transr, uplo, n, arf, ap, info)
DTFTTP copies a triangular matrix from the rectangular full packed format (TF) to the standard packed...
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...
subroutine dtpttr(uplo, n, ap, a, lda, info)
DTPTTR copies a triangular matrix from the standard packed format (TP) to the standard full format (T...
subroutine stpttf(transr, uplo, n, ap, arf, info)
STPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed...
subroutine stfttp(transr, uplo, n, arf, ap, info)
STFTTP copies a triangular matrix from the rectangular full packed format (TF) to the standard packed...
subroutine strttf(transr, uplo, n, a, lda, arf, info)
STRTTF copies a triangular matrix from the standard full format (TR) to the rectangular full packed f...
subroutine strttp(uplo, n, a, lda, ap, info)
STRTTP copies a triangular matrix from the standard full format (TR) to the standard packed format (T...
subroutine stpttr(uplo, n, ap, a, lda, info)
STPTTR copies a triangular matrix from the standard packed format (TP) to the standard full format (T...
subroutine stfttr(transr, uplo, n, arf, a, lda, info)
STFTTR copies a triangular matrix from the rectangular full packed format (TF) to the standard full f...
subroutine sdrvrf2(nout, nn, nval, a, lda, arf, ap, asav)
SDRVRF2
for(i8=*sizetab-1;i8 >=0;i8--)