90 SUBROUTINE zdrvrf2( NOUT, NN, NVAL, A, LDA, ARF, AP, ASAV )
102 COMPLEX*16 a( lda, * ), arf( * ), ap(*), asav( lda, * )
108 LOGICAL lower, ok1, ok2
109 CHARACTER uplo, cform
110 INTEGER i, iform, iin, info, iuplo, j, n,
114 CHARACTER uplos( 2 ), forms( 2 )
115 INTEGER iseed( 4 ), iseedy( 4 )
128 common / srnamc / srnamt
131 DATA iseedy / 1988, 1989, 1990, 1991 /
132 DATA uplos /
'U',
'L' /
133 DATA forms /
'N',
'C' /
143 iseed( i ) = iseedy( i )
154 uplo = uplos( iuplo )
156 IF ( iuplo.EQ.1 ) lower = .false.
162 cform = forms( iform )
168 a( i, j) =
zlarnd( 4, iseed )
173 CALL
ztrttf( cform, uplo, n, a, lda, arf, info )
176 CALL
ztfttp( cform, uplo, n, arf, ap, info )
179 CALL
ztpttr( uplo, n, ap, asav, lda, info )
185 IF ( a(i,j).NE.asav(i,j) )
THEN
193 IF ( a(i,j).NE.asav(i,j) )
THEN
203 CALL
ztrttp( uplo, n, a, lda, ap, info )
206 CALL
ztpttf( cform, uplo, n, ap, arf, info )
209 CALL
ztfttr( cform, uplo, n, arf, asav, lda, info )
215 IF ( a(i,j).NE.asav(i,j) )
THEN
223 IF ( a(i,j).NE.asav(i,j) )
THEN
230 IF (( .NOT.ok1 ).OR.( .NOT.ok2 ))
THEN
231 IF( nerrs.EQ.0 )
THEN
233 WRITE( nout, fmt = 9999 )
235 WRITE( nout, fmt = 9998 ) n, uplo, cform
245 IF ( nerrs.EQ.0 )
THEN
246 WRITE( nout, fmt = 9997 ) nrun
248 WRITE( nout, fmt = 9996 ) nerrs, nrun
251 9999 format( 1x,
' *** Error(s) while testing the RFP convertion',
253 9998 format( 1x,
' Error in RFP,convertion routines N=',i5,
254 +
' UPLO=''', a1,
''', FORM =''',a1,
'''')
255 9997 format( 1x,
'All tests for the RFP convertion routines passed (',
257 9996 format( 1x,
'RFP convertion routines:',i5,
' out of ',i5,
258 +
' error message recorded')