59 SUBROUTINE zerrsy( PATH, NUNIT )
80 INTEGER i, info, j, n_err_bnds, nparams
81 DOUBLE PRECISION anrm, rcond, berr
85 DOUBLE PRECISION r( nmax ), r1( nmax ), r2( nmax ),
86 $ s( nmax ), err_bnds_n( nmax, 3 ),
87 $ err_bnds_c( nmax, 3 ), params( 1 )
88 COMPLEX*16 a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
89 $ w( 2*nmax ), x( nmax )
106 common / infoc / infot, nout, ok, lerr
107 common / srnamc / srnamt
110 INTRINSIC dble, dcmplx
115 WRITE( nout, fmt = * )
122 a( i, j ) = dcmplx( 1.d0 / dble( i+j ),
123 $ -1.d0 / dble( i+j ) )
124 af( i, j ) = dcmplx( 1.d0 / dble( i+j ),
125 $ -1.d0 / dble( i+j ) )
141 IF(
lsamen( 2, c2,
'SY' ) )
THEN
147 CALL
zsytrf(
'/', 0, a, 1, ip, w, 1, info )
148 CALL
chkxer(
'ZSYTRF', infot, nout, lerr, ok )
150 CALL
zsytrf(
'U', -1, a, 1, ip, w, 1, info )
151 CALL
chkxer(
'ZSYTRF', infot, nout, lerr, ok )
153 CALL
zsytrf(
'U', 2, a, 1, ip, w, 4, info )
154 CALL
chkxer(
'ZSYTRF', infot, nout, lerr, ok )
160 CALL
zsytf2(
'/', 0, a, 1, ip, info )
161 CALL
chkxer(
'ZSYTF2', infot, nout, lerr, ok )
163 CALL
zsytf2(
'U', -1, a, 1, ip, info )
164 CALL
chkxer(
'ZSYTF2', infot, nout, lerr, ok )
166 CALL
zsytf2(
'U', 2, a, 1, ip, info )
167 CALL
chkxer(
'ZSYTF2', infot, nout, lerr, ok )
173 CALL
zsytri(
'/', 0, a, 1, ip, w, info )
174 CALL
chkxer(
'ZSYTRI', infot, nout, lerr, ok )
176 CALL
zsytri(
'U', -1, a, 1, ip, w, info )
177 CALL
chkxer(
'ZSYTRI', infot, nout, lerr, ok )
179 CALL
zsytri(
'U', 2, a, 1, ip, w, info )
180 CALL
chkxer(
'ZSYTRI', infot, nout, lerr, ok )
186 CALL
zsytri2(
'/', 0, a, 1, ip, w, 1, info )
187 CALL
chkxer(
'ZSYTRI2', infot, nout, lerr, ok )
189 CALL
zsytri2(
'U', -1, a, 1, ip, w, 1, info )
190 CALL
chkxer(
'ZSYTRI2', infot, nout, lerr, ok )
192 CALL
zsytri2(
'U', 2, a, 1, ip, w, 1, info )
193 CALL
chkxer(
'ZSYTRI2', infot, nout, lerr, ok )
199 CALL
zsytrs(
'/', 0, 0, a, 1, ip, b, 1, info )
200 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
202 CALL
zsytrs(
'U', -1, 0, a, 1, ip, b, 1, info )
203 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
205 CALL
zsytrs(
'U', 0, -1, a, 1, ip, b, 1, info )
206 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
208 CALL
zsytrs(
'U', 2, 1, a, 1, ip, b, 2, info )
209 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
211 CALL
zsytrs(
'U', 2, 1, a, 2, ip, b, 1, info )
212 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
218 CALL
zsyrfs(
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2, w,
220 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
222 CALL
zsyrfs(
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
224 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
226 CALL
zsyrfs(
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
228 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
230 CALL
zsyrfs(
'U', 2, 1, a, 1, af, 2, ip, b, 2, x, 2, r1, r2, w,
232 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
234 CALL
zsyrfs(
'U', 2, 1, a, 2, af, 1, ip, b, 2, x, 2, r1, r2, w,
236 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
238 CALL
zsyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 1, x, 2, r1, r2, w,
240 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
242 CALL
zsyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 2, x, 1, r1, r2, w,
244 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
252 CALL
zsyrfsx(
'/', eq, 0, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
253 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
254 $ params, w, r, info )
255 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
257 CALL
zsyrfsx(
'U', eq, -1, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
258 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
259 $ params, w, r, info )
260 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
263 CALL
zsyrfsx(
'U', eq, -1, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
264 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
265 $ params, w, r, info )
266 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
268 CALL
zsyrfsx(
'U', eq, 0, -1, a, 1, af, 1, ip, s, b, 1, x, 1,
269 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
270 $ params, w, r, info )
271 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
273 CALL
zsyrfsx(
'U', eq, 2, 1, a, 1, af, 2, ip, s, b, 2, x, 2,
274 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
275 $ params, w, r, info )
276 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
278 CALL
zsyrfsx(
'U', eq, 2, 1, a, 2, af, 1, ip, s, b, 2, x, 2,
279 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
280 $ params, w, r, info )
281 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
283 CALL
zsyrfsx(
'U', eq, 2, 1, a, 2, af, 2, ip, s, b, 1, x, 2,
284 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
285 $ params, w, r, info )
286 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
288 CALL
zsyrfsx(
'U', eq, 2, 1, a, 2, af, 2, ip, s, b, 2, x, 1,
289 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
290 $ params, w, r, info )
291 CALL
chkxer(
'ZSYRFSX', infot, nout, lerr, ok )
297 CALL
zsycon(
'/', 0, a, 1, ip, anrm, rcond, w, info )
298 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
300 CALL
zsycon(
'U', -1, a, 1, ip, anrm, rcond, w, info )
301 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
303 CALL
zsycon(
'U', 2, a, 1, ip, anrm, rcond, w, info )
304 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
306 CALL
zsycon(
'U', 1, a, 1, ip, -anrm, rcond, w, info )
307 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
312 ELSE IF(
lsamen( 2, c2,
'SP' ) )
THEN
318 CALL
zsptrf(
'/', 0, a, ip, info )
319 CALL
chkxer(
'ZSPTRF', infot, nout, lerr, ok )
321 CALL
zsptrf(
'U', -1, a, ip, info )
322 CALL
chkxer(
'ZSPTRF', infot, nout, lerr, ok )
328 CALL
zsptri(
'/', 0, a, ip, w, info )
329 CALL
chkxer(
'ZSPTRI', infot, nout, lerr, ok )
331 CALL
zsptri(
'U', -1, a, ip, w, info )
332 CALL
chkxer(
'ZSPTRI', infot, nout, lerr, ok )
338 CALL
zsptrs(
'/', 0, 0, a, ip, b, 1, info )
339 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
341 CALL
zsptrs(
'U', -1, 0, a, ip, b, 1, info )
342 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
344 CALL
zsptrs(
'U', 0, -1, a, ip, b, 1, info )
345 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
347 CALL
zsptrs(
'U', 2, 1, a, ip, b, 1, info )
348 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
354 CALL
zsprfs(
'/', 0, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
356 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
358 CALL
zsprfs(
'U', -1, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
360 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
362 CALL
zsprfs(
'U', 0, -1, a, af, ip, b, 1, x, 1, r1, r2, w, r,
364 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
366 CALL
zsprfs(
'U', 2, 1, a, af, ip, b, 1, x, 2, r1, r2, w, r,
368 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
370 CALL
zsprfs(
'U', 2, 1, a, af, ip, b, 2, x, 1, r1, r2, w, r,
372 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
378 CALL
zspcon(
'/', 0, a, ip, anrm, rcond, w, info )
379 CALL
chkxer(
'ZSPCON', infot, nout, lerr, ok )
381 CALL
zspcon(
'U', -1, a, ip, anrm, rcond, w, info )
382 CALL
chkxer(
'ZSPCON', infot, nout, lerr, ok )
384 CALL
zspcon(
'U', 1, a, ip, -anrm, rcond, w, info )
385 CALL
chkxer(
'ZSPCON', infot, nout, lerr, ok )
390 CALL
alaesm( path, ok, nout )