81 REAL r( nmax ), r1( nmax ), r2( nmax )
82 COMPLEX a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
83 $ w( 2*nmax ), x( nmax )
100 common / infoc / infot, nout, ok, lerr
101 common / srnamc / srnamt
104 INTRINSIC cmplx, real
109 WRITE( nout, fmt = * )
116 a( i, j ) = cmplx( 1. /
REAL( I+J ), -1. /
REAL( I+J ) )
117 af( i, j ) = cmplx( 1. /
REAL( I+J ), -1. /
REAL( I+J ) )
129 IF(
lsamen( 2, c2,
'SY' ) )
THEN
139 CALL
csytrf(
'/', 0, a, 1, ip, w, 1, info )
140 CALL
chkxer(
'CSYTRF', infot, nout, lerr, ok )
142 CALL
csytrf(
'U', -1, a, 1, ip, w, 1, info )
143 CALL
chkxer(
'CSYTRF', infot, nout, lerr, ok )
145 CALL
csytrf(
'U', 2, a, 1, ip, w, 4, info )
146 CALL
chkxer(
'CSYTRF', infot, nout, lerr, ok )
152 CALL
csytf2(
'/', 0, a, 1, ip, info )
153 CALL
chkxer(
'CSYTF2', infot, nout, lerr, ok )
155 CALL
csytf2(
'U', -1, a, 1, ip, info )
156 CALL
chkxer(
'CSYTF2', infot, nout, lerr, ok )
158 CALL
csytf2(
'U', 2, a, 1, ip, info )
159 CALL
chkxer(
'CSYTF2', infot, nout, lerr, ok )
165 CALL
csytri(
'/', 0, a, 1, ip, w, info )
166 CALL
chkxer(
'CSYTRI', infot, nout, lerr, ok )
168 CALL
csytri(
'U', -1, a, 1, ip, w, info )
169 CALL
chkxer(
'CSYTRI', infot, nout, lerr, ok )
171 CALL
csytri(
'U', 2, a, 1, ip, w, info )
172 CALL
chkxer(
'CSYTRI', infot, nout, lerr, ok )
178 CALL
csytri2(
'/', 0, a, 1, ip, w, 1, info )
179 CALL
chkxer(
'CSYTRI2', infot, nout, lerr, ok )
181 CALL
csytri2(
'U', -1, a, 1, ip, w, 1, info )
182 CALL
chkxer(
'CSYTRI2', infot, nout, lerr, ok )
184 CALL
csytri2(
'U', 2, a, 1, ip, w, 1, info )
185 CALL
chkxer(
'CSYTRI2', infot, nout, lerr, ok )
191 CALL
csytrs(
'/', 0, 0, a, 1, ip, b, 1, info )
192 CALL
chkxer(
'CSYTRS', infot, nout, lerr, ok )
194 CALL
csytrs(
'U', -1, 0, a, 1, ip, b, 1, info )
195 CALL
chkxer(
'CSYTRS', infot, nout, lerr, ok )
197 CALL
csytrs(
'U', 0, -1, a, 1, ip, b, 1, info )
198 CALL
chkxer(
'CSYTRS', infot, nout, lerr, ok )
200 CALL
csytrs(
'U', 2, 1, a, 1, ip, b, 2, info )
201 CALL
chkxer(
'CSYTRS', infot, nout, lerr, ok )
203 CALL
csytrs(
'U', 2, 1, a, 2, ip, b, 1, info )
204 CALL
chkxer(
'CSYTRS', infot, nout, lerr, ok )
210 CALL
csyrfs(
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2, w,
212 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
214 CALL
csyrfs(
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
216 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
218 CALL
csyrfs(
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
220 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
222 CALL
csyrfs(
'U', 2, 1, a, 1, af, 2, ip, b, 2, x, 2, r1, r2, w,
224 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
226 CALL
csyrfs(
'U', 2, 1, a, 2, af, 1, ip, b, 2, x, 2, r1, r2, w,
228 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
230 CALL
csyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 1, x, 2, r1, r2, w,
232 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
234 CALL
csyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 2, x, 1, r1, r2, w,
236 CALL
chkxer(
'CSYRFS', infot, nout, lerr, ok )
242 CALL
csycon(
'/', 0, a, 1, ip, anrm, rcond, w, info )
243 CALL
chkxer(
'CSYCON', infot, nout, lerr, ok )
245 CALL
csycon(
'U', -1, a, 1, ip, anrm, rcond, w, info )
246 CALL
chkxer(
'CSYCON', infot, nout, lerr, ok )
248 CALL
csycon(
'U', 2, a, 1, ip, anrm, rcond, w, info )
249 CALL
chkxer(
'CSYCON', infot, nout, lerr, ok )
251 CALL
csycon(
'U', 1, a, 1, ip, -anrm, rcond, w, info )
252 CALL
chkxer(
'CSYCON', infot, nout, lerr, ok )
254 ELSE IF(
lsamen( 2, c2,
'SP' ) )
THEN
264 CALL
csptrf(
'/', 0, a, ip, info )
265 CALL
chkxer(
'CSPTRF', infot, nout, lerr, ok )
267 CALL
csptrf(
'U', -1, a, ip, info )
268 CALL
chkxer(
'CSPTRF', infot, nout, lerr, ok )
274 CALL
csptri(
'/', 0, a, ip, w, info )
275 CALL
chkxer(
'CSPTRI', infot, nout, lerr, ok )
277 CALL
csptri(
'U', -1, a, ip, w, info )
278 CALL
chkxer(
'CSPTRI', infot, nout, lerr, ok )
284 CALL
csptrs(
'/', 0, 0, a, ip, b, 1, info )
285 CALL
chkxer(
'CSPTRS', infot, nout, lerr, ok )
287 CALL
csptrs(
'U', -1, 0, a, ip, b, 1, info )
288 CALL
chkxer(
'CSPTRS', infot, nout, lerr, ok )
290 CALL
csptrs(
'U', 0, -1, a, ip, b, 1, info )
291 CALL
chkxer(
'CSPTRS', infot, nout, lerr, ok )
293 CALL
csptrs(
'U', 2, 1, a, ip, b, 1, info )
294 CALL
chkxer(
'CSPTRS', infot, nout, lerr, ok )
300 CALL
csprfs(
'/', 0, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
302 CALL
chkxer(
'CSPRFS', infot, nout, lerr, ok )
304 CALL
csprfs(
'U', -1, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
306 CALL
chkxer(
'CSPRFS', infot, nout, lerr, ok )
308 CALL
csprfs(
'U', 0, -1, a, af, ip, b, 1, x, 1, r1, r2, w, r,
310 CALL
chkxer(
'CSPRFS', infot, nout, lerr, ok )
312 CALL
csprfs(
'U', 2, 1, a, af, ip, b, 1, x, 2, r1, r2, w, r,
314 CALL
chkxer(
'CSPRFS', infot, nout, lerr, ok )
316 CALL
csprfs(
'U', 2, 1, a, af, ip, b, 2, x, 1, r1, r2, w, r,
318 CALL
chkxer(
'CSPRFS', infot, nout, lerr, ok )
324 CALL
cspcon(
'/', 0, a, ip, anrm, rcond, w, info )
325 CALL
chkxer(
'CSPCON', infot, nout, lerr, ok )
327 CALL
cspcon(
'U', -1, a, ip, anrm, rcond, w, info )
328 CALL
chkxer(
'CSPCON', infot, nout, lerr, ok )
330 CALL
cspcon(
'U', 1, a, ip, -anrm, rcond, w, info )
331 CALL
chkxer(
'CSPCON', infot, nout, lerr, ok )
336 CALL
alaesm( path, ok, nout )