59 SUBROUTINE serrsy( PATH, NUNIT )
80 INTEGER i, info, j, n_err_bnds, nparams
81 REAL anrm, rcond, berr
84 INTEGER ip( nmax ), iw( nmax )
85 REAL a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
86 $ r1( nmax ), r2( nmax ), w( 3*nmax ), x( nmax ),
87 $ s( nmax ), err_bnds_n( nmax, 3 ),
88 $ err_bnds_c( nmax, 3 ), params( 1 )
105 common / infoc / infot, nout, ok, lerr
106 common / srnamc / srnamt
114 WRITE( nout, fmt = * )
121 a( i, j ) = 1. /
REAL( i+j )
122 af( i, j ) = 1. /
REAL( i+j )
137 IF(
lsamen( 2, c2,
'SY' ) )
THEN
146 CALL
ssytrf(
'/', 0, a, 1, ip, w, 1, info )
147 CALL
chkxer(
'SSYTRF', infot, nout, lerr, ok )
149 CALL
ssytrf(
'U', -1, a, 1, ip, w, 1, info )
150 CALL
chkxer(
'SSYTRF', infot, nout, lerr, ok )
152 CALL
ssytrf(
'U', 2, a, 1, ip, w, 4, info )
153 CALL
chkxer(
'SSYTRF', infot, nout, lerr, ok )
159 CALL
ssytf2(
'/', 0, a, 1, ip, info )
160 CALL
chkxer(
'SSYTF2', infot, nout, lerr, ok )
162 CALL
ssytf2(
'U', -1, a, 1, ip, info )
163 CALL
chkxer(
'SSYTF2', infot, nout, lerr, ok )
165 CALL
ssytf2(
'U', 2, a, 1, ip, info )
166 CALL
chkxer(
'SSYTF2', infot, nout, lerr, ok )
172 CALL
ssytri(
'/', 0, a, 1, ip, w, info )
173 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
175 CALL
ssytri(
'U', -1, a, 1, ip, w, info )
176 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
178 CALL
ssytri(
'U', 2, a, 1, ip, w, info )
179 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
185 CALL
ssytri2(
'/', 0, a, 1, ip, w, iw, info )
186 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
188 CALL
ssytri2(
'U', -1, a, 1, ip, w, iw, info )
189 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
191 CALL
ssytri2(
'U', 2, a, 1, ip, w, iw, info )
192 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
198 CALL
ssytrs(
'/', 0, 0, a, 1, ip, b, 1, info )
199 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
201 CALL
ssytrs(
'U', -1, 0, a, 1, ip, b, 1, info )
202 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
204 CALL
ssytrs(
'U', 0, -1, a, 1, ip, b, 1, info )
205 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
207 CALL
ssytrs(
'U', 2, 1, a, 1, ip, b, 2, info )
208 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
210 CALL
ssytrs(
'U', 2, 1, a, 2, ip, b, 1, info )
211 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
217 CALL
ssyrfs(
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2, w,
219 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
221 CALL
ssyrfs(
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
223 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
225 CALL
ssyrfs(
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
227 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
229 CALL
ssyrfs(
'U', 2, 1, a, 1, af, 2, ip, b, 2, x, 2, r1, r2, w,
231 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
233 CALL
ssyrfs(
'U', 2, 1, a, 2, af, 1, ip, b, 2, x, 2, r1, r2, w,
235 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
237 CALL
ssyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 1, x, 2, r1, r2, w,
239 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
241 CALL
ssyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 2, x, 1, r1, r2, w,
243 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
251 CALL
ssyrfsx(
'/', eq, 0, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
252 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
253 $ params, w, iw, info )
254 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
256 CALL
ssyrfsx(
'U', eq, -1, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
257 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
258 $ params, w, iw, info )
259 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
262 CALL
ssyrfsx(
'U', eq, -1, 0, a, 1, af, 1, ip, s, b, 1, x, 1,
263 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
264 $ params, w, iw, info )
265 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
267 CALL
ssyrfsx(
'U', eq, 0, -1, a, 1, af, 1, ip, s, b, 1, x, 1,
268 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
269 $ params, w, iw, info )
270 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
272 CALL
ssyrfsx(
'U', eq, 2, 1, a, 1, af, 2, ip, s, b, 2, x, 2,
273 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
274 $ params, w, iw, info )
275 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
277 CALL
ssyrfsx(
'U', eq, 2, 1, a, 2, af, 1, ip, s, b, 2, x, 2,
278 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
279 $ params, w, iw, info )
280 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
282 CALL
ssyrfsx(
'U', eq, 2, 1, a, 2, af, 2, ip, s, b, 1, x, 2,
283 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
284 $ params, w, iw, info )
285 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
287 CALL
ssyrfsx(
'U', eq, 2, 1, a, 2, af, 2, ip, s, b, 2, x, 1,
288 $ rcond, berr, n_err_bnds, err_bnds_n, err_bnds_c, nparams,
289 $ params, w, iw, info )
290 CALL
chkxer(
'SSYRFSX', infot, nout, lerr, ok )
296 CALL
ssycon(
'/', 0, a, 1, ip, anrm, rcond, w, iw, info )
297 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
299 CALL
ssycon(
'U', -1, a, 1, ip, anrm, rcond, w, iw, info )
300 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
302 CALL
ssycon(
'U', 2, a, 1, ip, anrm, rcond, w, iw, info )
303 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
305 CALL
ssycon(
'U', 1, a, 1, ip, -1.0, rcond, w, iw, info )
306 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
308 ELSE IF(
lsamen( 2, c2,
'SP' ) )
THEN
317 CALL
ssptrf(
'/', 0, a, ip, info )
318 CALL
chkxer(
'SSPTRF', infot, nout, lerr, ok )
320 CALL
ssptrf(
'U', -1, a, ip, info )
321 CALL
chkxer(
'SSPTRF', infot, nout, lerr, ok )
327 CALL
ssptri(
'/', 0, a, ip, w, info )
328 CALL
chkxer(
'SSPTRI', infot, nout, lerr, ok )
330 CALL
ssptri(
'U', -1, a, ip, w, info )
331 CALL
chkxer(
'SSPTRI', infot, nout, lerr, ok )
337 CALL
ssptrs(
'/', 0, 0, a, ip, b, 1, info )
338 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
340 CALL
ssptrs(
'U', -1, 0, a, ip, b, 1, info )
341 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
343 CALL
ssptrs(
'U', 0, -1, a, ip, b, 1, info )
344 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
346 CALL
ssptrs(
'U', 2, 1, a, ip, b, 1, info )
347 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
353 CALL
ssprfs(
'/', 0, 0, a, af, ip, b, 1, x, 1, r1, r2, w, iw,
355 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
357 CALL
ssprfs(
'U', -1, 0, a, af, ip, b, 1, x, 1, r1, r2, w, iw,
359 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
361 CALL
ssprfs(
'U', 0, -1, a, af, ip, b, 1, x, 1, r1, r2, w, iw,
363 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
365 CALL
ssprfs(
'U', 2, 1, a, af, ip, b, 1, x, 2, r1, r2, w, iw,
367 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
369 CALL
ssprfs(
'U', 2, 1, a, af, ip, b, 2, x, 1, r1, r2, w, iw,
371 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
377 CALL
sspcon(
'/', 0, a, ip, anrm, rcond, w, iw, info )
378 CALL
chkxer(
'SSPCON', infot, nout, lerr, ok )
380 CALL
sspcon(
'U', -1, a, ip, anrm, rcond, w, iw, info )
381 CALL
chkxer(
'SSPCON', infot, nout, lerr, ok )
383 CALL
sspcon(
'U', 1, a, ip, -1.0, rcond, w, iw, info )
384 CALL
chkxer(
'SSPCON', infot, nout, lerr, ok )
389 CALL
alaesm( path, ok, nout )