59 SUBROUTINE zerrhe( PATH, NUNIT )
81 INTEGER i, info, j, n_err_bnds, nparams
82 DOUBLE PRECISION anrm, rcond, berr
86 DOUBLE PRECISION r( nmax ), r1( nmax ), r2( nmax ),
87 $ s( nmax ), err_bnds_n( nmax, 3 ),
88 $ err_bnds_c( nmax, 3 ), params( 1 )
89 COMPLEX*16 a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
90 $ w( 2*nmax ), x( nmax )
107 common / infoc / infot, nout, ok, lerr
108 common / srnamc / srnamt
111 INTRINSIC dble, dcmplx
116 WRITE( nout, fmt = * )
123 a( i, j ) = dcmplx( 1.d0 / dble( i+j ),
124 $ -1.d0 / dble( i+j ) )
125 af( i, j ) = dcmplx( 1.d0 / dble( i+j ),
126 $ -1.d0 / dble( i+j ) )
142 IF(
lsamen( 2, c2,
'HE' ) )
THEN
148 CALL
zhetrf(
'/', 0, a, 1, ip, w, 1, info )
149 CALL
chkxer(
'ZHETRF', infot, nout, lerr, ok )
151 CALL
zhetrf(
'U', -1, a, 1, ip, w, 1, info )
152 CALL
chkxer(
'ZHETRF', infot, nout, lerr, ok )
154 CALL
zhetrf(
'U', 2, a, 1, ip, w, 4, info )
155 CALL
chkxer(
'ZHETRF', infot, nout, lerr, ok )
161 CALL
zhetf2(
'/', 0, a, 1, ip, info )
162 CALL
chkxer(
'ZHETF2', infot, nout, lerr, ok )
164 CALL
zhetf2(
'U', -1, a, 1, ip, info )
165 CALL
chkxer(
'ZHETF2', infot, nout, lerr, ok )
167 CALL
zhetf2(
'U', 2, a, 1, ip, info )
168 CALL
chkxer(
'ZHETF2', infot, nout, lerr, ok )
174 CALL
zhetri(
'/', 0, a, 1, ip, w, info )
175 CALL
chkxer(
'ZHETRI', infot, nout, lerr, ok )
177 CALL
zhetri(
'U', -1, a, 1, ip, w, info )
178 CALL
chkxer(
'ZHETRI', infot, nout, lerr, ok )
180 CALL
zhetri(
'U', 2, a, 1, ip, w, info )
181 CALL
chkxer(
'ZHETRI', infot, nout, lerr, ok )
187 CALL
zhetri2(
'/', 0, a, 1, ip, w, 1, info )
188 CALL
chkxer(
'ZHETRI2', infot, nout, lerr, ok )
190 CALL
zhetri2(
'U', -1, a, 1, ip, w, 1, info )
191 CALL
chkxer(
'ZHETRI2', infot, nout, lerr, ok )
193 CALL
zhetri2(
'U', 2, a, 1, ip, w, 1, info )
194 CALL
chkxer(
'ZHETRI2', infot, nout, lerr, ok )
200 CALL
zhetrs(
'/', 0, 0, a, 1, ip, b, 1, info )
201 CALL
chkxer(
'ZHETRS', infot, nout, lerr, ok )
203 CALL
zhetrs(
'U', -1, 0, a, 1, ip, b, 1, info )
204 CALL
chkxer(
'ZHETRS', infot, nout, lerr, ok )
206 CALL
zhetrs(
'U', 0, -1, a, 1, ip, b, 1, info )
207 CALL
chkxer(
'ZHETRS', infot, nout, lerr, ok )
209 CALL
zhetrs(
'U', 2, 1, a, 1, ip, b, 2, info )
210 CALL
chkxer(
'ZHETRS', infot, nout, lerr, ok )
212 CALL
zhetrs(
'U', 2, 1, a, 2, ip, b, 1, info )
213 CALL
chkxer(
'ZHETRS', infot, nout, lerr, ok )
219 CALL
zherfs(
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2, w,
221 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
223 CALL
zherfs(
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
225 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
227 CALL
zherfs(
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
229 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
231 CALL
zherfs(
'U', 2, 1, a, 1, af, 2, ip, b, 2, x, 2, r1, r2, w,
233 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
235 CALL
zherfs(
'U', 2, 1, a, 2, af, 1, ip, b, 2, x, 2, r1, r2, w,
237 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
239 CALL
zherfs(
'U', 2, 1, a, 2, af, 2, ip, b, 1, x, 2, r1, r2, w,
241 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
243 CALL
zherfs(
'U', 2, 1, a, 2, af, 2, ip, b, 2, x, 1, r1, r2, w,
245 CALL
chkxer(
'ZHERFS', infot, nout, lerr, ok )
253 CALL
zherfsx(
'/', eq, 0, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
254 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
255 $ params, w, r, info )
256 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
258 CALL
zherfsx(
'U', eq, -1, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
259 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
260 $ params, w, r, info )
261 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
264 CALL
zherfsx(
'U', eq, -1, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
265 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
266 $ params, w, r, info )
267 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
269 CALL
zherfsx(
'U', eq, 0, -1, a, 1, af, 1, ip, s, b, 1, x, 1,
270 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
271 $ params, w, r, info )
272 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
274 CALL
zherfsx(
'U', eq, 2, 1, a, 1, af, 2, ip, s, b, 2, x, 2,
275 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
276 $ params, w, r, info )
277 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
279 CALL
zherfsx(
'U', eq, 2, 1, a, 2, af, 1, ip, s, b, 2, x, 2,
280 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
281 $ params, w, r, info )
282 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
284 CALL
zherfsx(
'U', eq, 2, 1, a, 2, af, 2, ip, s, b, 1, x, 2,
285 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
286 $ params, w, r, info )
287 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
289 CALL
zherfsx(
'U', eq, 2, 1, a, 2, af, 2, ip, s, b, 2, x, 1,
290 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
291 $ params, w, r, info )
292 CALL
chkxer(
'ZHERFSX', infot, nout, lerr, ok )
298 CALL
zhecon(
'/', 0, a, 1, ip, anrm, rcond, w, info )
299 CALL
chkxer(
'ZHECON', infot, nout, lerr, ok )
301 CALL
zhecon(
'U', -1, a, 1, ip, anrm, rcond, w, info )
302 CALL
chkxer(
'ZHECON', infot, nout, lerr, ok )
304 CALL
zhecon(
'U', 2, a, 1, ip, anrm, rcond, w, info )
305 CALL
chkxer(
'ZHECON', infot, nout, lerr, ok )
307 CALL
zhecon(
'U', 1, a, 1, ip, -anrm, rcond, w, info )
308 CALL
chkxer(
'ZHECON', infot, nout, lerr, ok )
313 ELSE IF(
lsamen( 2, c2,
'HP' ) )
THEN
319 CALL
zhptrf(
'/', 0, a, ip, info )
320 CALL
chkxer(
'ZHPTRF', infot, nout, lerr, ok )
322 CALL
zhptrf(
'U', -1, a, ip, info )
323 CALL
chkxer(
'ZHPTRF', infot, nout, lerr, ok )
329 CALL
zhptri(
'/', 0, a, ip, w, info )
330 CALL
chkxer(
'ZHPTRI', infot, nout, lerr, ok )
332 CALL
zhptri(
'U', -1, a, ip, w, info )
333 CALL
chkxer(
'ZHPTRI', infot, nout, lerr, ok )
339 CALL
zhptrs(
'/', 0, 0, a, ip, b, 1, info )
340 CALL
chkxer(
'ZHPTRS', infot, nout, lerr, ok )
342 CALL
zhptrs(
'U', -1, 0, a, ip, b, 1, info )
343 CALL
chkxer(
'ZHPTRS', infot, nout, lerr, ok )
345 CALL
zhptrs(
'U', 0, -1, a, ip, b, 1, info )
346 CALL
chkxer(
'ZHPTRS', infot, nout, lerr, ok )
348 CALL
zhptrs(
'U', 2, 1, a, ip, b, 1, info )
349 CALL
chkxer(
'ZHPTRS', infot, nout, lerr, ok )
355 CALL
zhprfs(
'/', 0, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
357 CALL
chkxer(
'ZHPRFS', infot, nout, lerr, ok )
359 CALL
zhprfs(
'U', -1, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
361 CALL
chkxer(
'ZHPRFS', infot, nout, lerr, ok )
363 CALL
zhprfs(
'U', 0, -1, a, af, ip, b, 1, x, 1, r1, r2, w, r,
365 CALL
chkxer(
'ZHPRFS', infot, nout, lerr, ok )
367 CALL
zhprfs(
'U', 2, 1, a, af, ip, b, 1, x, 2, r1, r2, w, r,
369 CALL
chkxer(
'ZHPRFS', infot, nout, lerr, ok )
371 CALL
zhprfs(
'U', 2, 1, a, af, ip, b, 2, x, 1, r1, r2, w, r,
373 CALL
chkxer(
'ZHPRFS', infot, nout, lerr, ok )
379 CALL
zhpcon(
'/', 0, a, ip, anrm, rcond, w, info )
380 CALL
chkxer(
'ZHPCON', infot, nout, lerr, ok )
382 CALL
zhpcon(
'U', -1, a, ip, anrm, rcond, w, info )
383 CALL
chkxer(
'ZHPCON', infot, nout, lerr, ok )
385 CALL
zhpcon(
'U', 1, a, ip, -anrm, rcond, w, info )
386 CALL
chkxer(
'ZHPCON', infot, nout, lerr, ok )
391 CALL
alaesm( path, ok, nout )