70 COMPLEX A( 1, 1), B( 1, 1)
86 COMMON / infoc / infot, nout, ok, lerr
87 COMMON / srnamc / srnamt
93 a( 1, 1 ) = cmplx( 1.0 , 1.0 )
94 b( 1, 1 ) = cmplx( 1.0 , 1.0 )
95 alphacmplx = cmplx( 1.0 , 1.0 )
101 CALL cpftrf(
'/',
'U', 0, a, info )
102 CALL chkxer(
'CPFTRF', infot, nout, lerr, ok )
104 CALL cpftrf(
'N',
'/', 0, a, info )
105 CALL chkxer(
'CPFTRF', infot, nout, lerr, ok )
107 CALL cpftrf(
'N',
'U', -1, a, info )
108 CALL chkxer(
'CPFTRF', infot, nout, lerr, ok )
112 CALL cpftrs(
'/',
'U', 0, 0, a, b, 1, info )
113 CALL chkxer(
'CPFTRS', infot, nout, lerr, ok )
115 CALL cpftrs(
'N',
'/', 0, 0, a, b, 1, info )
116 CALL chkxer(
'CPFTRS', infot, nout, lerr, ok )
118 CALL cpftrs(
'N',
'U', -1, 0, a, b, 1, info )
119 CALL chkxer(
'CPFTRS', infot, nout, lerr, ok )
121 CALL cpftrs(
'N',
'U', 0, -1, a, b, 1, info )
122 CALL chkxer(
'CPFTRS', infot, nout, lerr, ok )
124 CALL cpftrs(
'N',
'U', 0, 0, a, b, 0, info )
125 CALL chkxer(
'CPFTRS', infot, nout, lerr, ok )
129 CALL cpftri(
'/',
'U', 0, a, info )
130 CALL chkxer(
'CPFTRI', infot, nout, lerr, ok )
132 CALL cpftri(
'N',
'/', 0, a, info )
133 CALL chkxer(
'CPFTRI', infot, nout, lerr, ok )
135 CALL cpftri(
'N',
'U', -1, a, info )
136 CALL chkxer(
'CPFTRI', infot, nout, lerr, ok )
140 CALL ctfsm(
'/',
'L',
'U',
'C',
'U', 0, 0, alphacmplx, a, b, 1 )
141 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
143 CALL ctfsm(
'N',
'/',
'U',
'C',
'U', 0, 0, alphacmplx, a, b, 1 )
144 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
146 CALL ctfsm(
'N',
'L',
'/',
'C',
'U', 0, 0, alphacmplx, a, b, 1 )
147 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
149 CALL ctfsm(
'N',
'L',
'U',
'/',
'U', 0, 0, alphacmplx, a, b, 1 )
150 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
152 CALL ctfsm(
'N',
'L',
'U',
'C',
'/', 0, 0, alphacmplx, a, b, 1 )
153 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
155 CALL ctfsm(
'N',
'L',
'U',
'C',
'U', -1, 0, alphacmplx, a, b, 1 )
156 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
158 CALL ctfsm(
'N',
'L',
'U',
'C',
'U', 0, -1, alphacmplx, a, b, 1 )
159 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
161 CALL ctfsm(
'N',
'L',
'U',
'C',
'U', 0, 0, alphacmplx, a, b, 0 )
162 CALL chkxer(
'CTFSM ', infot, nout, lerr, ok )
166 CALL ctftri(
'/',
'L',
'N', 0, a, info )
167 CALL chkxer(
'CTFTRI', infot, nout, lerr, ok )
169 CALL ctftri(
'N',
'/',
'N', 0, a, info )
170 CALL chkxer(
'CTFTRI', infot, nout, lerr, ok )
172 CALL ctftri(
'N',
'L',
'/', 0, a, info )
173 CALL chkxer(
'CTFTRI', infot, nout, lerr, ok )
175 CALL ctftri(
'N',
'L',
'N', -1, a, info )
176 CALL chkxer(
'CTFTRI', infot, nout, lerr, ok )
180 CALL ctfttr(
'/',
'U', 0, a, b, 1, info )
181 CALL chkxer(
'CTFTTR', infot, nout, lerr, ok )
183 CALL ctfttr(
'N',
'/', 0, a, b, 1, info )
184 CALL chkxer(
'CTFTTR', infot, nout, lerr, ok )
186 CALL ctfttr(
'N',
'U', -1, a, b, 1, info )
187 CALL chkxer(
'CTFTTR', infot, nout, lerr, ok )
189 CALL ctfttr(
'N',
'U', 0, a, b, 0, info )
190 CALL chkxer(
'CTFTTR', infot, nout, lerr, ok )
194 CALL ctrttf(
'/',
'U', 0, a, 1, b, info )
195 CALL chkxer(
'CTRTTF', infot, nout, lerr, ok )
197 CALL ctrttf(
'N',
'/', 0, a, 1, b, info )
198 CALL chkxer(
'CTRTTF', infot, nout, lerr, ok )
200 CALL ctrttf(
'N',
'U', -1, a, 1, b, info )
201 CALL chkxer(
'CTRTTF', infot, nout, lerr, ok )
203 CALL ctrttf(
'N',
'U', 0, a, 0, b, info )
204 CALL chkxer(
'CTRTTF', infot, nout, lerr, ok )
208 CALL ctfttp(
'/',
'U', 0, a, b, info )
209 CALL chkxer(
'CTFTTP', infot, nout, lerr, ok )
211 CALL ctfttp(
'N',
'/', 0, a, b, info )
212 CALL chkxer(
'CTFTTP', infot, nout, lerr, ok )
214 CALL ctfttp(
'N',
'U', -1, a, b, info )
215 CALL chkxer(
'CTFTTP', infot, nout, lerr, ok )
219 CALL ctpttf(
'/',
'U', 0, a, b, info )
220 CALL chkxer(
'CTPTTF', infot, nout, lerr, ok )
222 CALL ctpttf(
'N',
'/', 0, a, b, info )
223 CALL chkxer(
'CTPTTF', infot, nout, lerr, ok )
225 CALL ctpttf(
'N',
'U', -1, a, b, info )
226 CALL chkxer(
'CTPTTF', infot, nout, lerr, ok )
230 CALL ctrttp(
'/', 0, a, 1, b, info )
231 CALL chkxer(
'CTRTTP', infot, nout, lerr, ok )
233 CALL ctrttp(
'U', -1, a, 1, b, info )
234 CALL chkxer(
'CTRTTP', infot, nout, lerr, ok )
236 CALL ctrttp(
'U', 0, a, 0, b, info )
237 CALL chkxer(
'CTRTTP', infot, nout, lerr, ok )
241 CALL ctpttr(
'/', 0, a, b, 1, info )
242 CALL chkxer(
'CTPTTR', infot, nout, lerr, ok )
244 CALL ctpttr(
'U', -1, a, b, 1, info )
245 CALL chkxer(
'CTPTTR', infot, nout, lerr, ok )
247 CALL ctpttr(
'U', 0, a, b, 0, info )
248 CALL chkxer(
'CTPTTR', infot, nout, lerr, ok )
252 CALL chfrk(
'/',
'U',
'N', 0, 0, alpha, a, 1, beta, b )
253 CALL chkxer(
'CHFRK ', infot, nout, lerr, ok )
255 CALL chfrk(
'N',
'/',
'N', 0, 0, alpha, a, 1, beta, b )
256 CALL chkxer(
'CHFRK ', infot, nout, lerr, ok )
258 CALL chfrk(
'N',
'U',
'/', 0, 0, alpha, a, 1, beta, b )
259 CALL chkxer(
'CHFRK ', infot, nout, lerr, ok )
261 CALL chfrk(
'N',
'U',
'N', -1, 0, alpha, a, 1, beta, b )
262 CALL chkxer(
'CHFRK ', infot, nout, lerr, ok )
264 CALL chfrk(
'N',
'U',
'N', 0, -1, alpha, a, 1, beta, b )
265 CALL chkxer(
'CHFRK ', infot, nout, lerr, ok )
267 CALL chfrk(
'N',
'U',
'N', 0, 0, alpha, a, 0, beta, b )
268 CALL chkxer(
'CHFRK ', infot, nout, lerr, ok )
273 WRITE( nout, fmt = 9999 )
275 WRITE( nout, fmt = 9998 )
278 9999
FORMAT( 1x,
'COMPLEX RFP routines passed the tests of the ',
280 9998
FORMAT(
' *** RFP routines failed the tests of the error ',
subroutine chkxer(srnamt, infot, nout, lerr, ok)
subroutine cerrrfp(nunit)
CERRRFP
subroutine chfrk(transr, uplo, trans, n, k, alpha, a, lda, beta, c)
CHFRK performs a Hermitian rank-k operation for matrix in RFP format.
subroutine cpftrf(transr, uplo, n, a, info)
CPFTRF
subroutine cpftri(transr, uplo, n, a, info)
CPFTRI
subroutine cpftrs(transr, uplo, n, nrhs, a, b, ldb, info)
CPFTRS
subroutine ctfsm(transr, side, uplo, trans, diag, m, n, alpha, a, b, ldb)
CTFSM solves a matrix equation (one operand is a triangular matrix in RFP format).
subroutine ctftri(transr, uplo, diag, n, a, info)
CTFTRI
subroutine ctfttp(transr, uplo, n, arf, ap, info)
CTFTTP copies a triangular matrix from the rectangular full packed format (TF) to the standard packed...
subroutine ctfttr(transr, uplo, n, arf, a, lda, info)
CTFTTR copies a triangular matrix from the rectangular full packed format (TF) to the standard full f...
subroutine ctpttf(transr, uplo, n, ap, arf, info)
CTPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed...
subroutine ctpttr(uplo, n, ap, a, lda, info)
CTPTTR copies a triangular matrix from the standard packed format (TP) to the standard full format (T...
subroutine ctrttf(transr, uplo, n, a, lda, arf, info)
CTRTTF copies a triangular matrix from the standard full format (TR) to the rectangular full packed f...
subroutine ctrttp(uplo, n, a, lda, ap, info)
CTRTTP copies a triangular matrix from the standard full format (TR) to the standard packed format (T...