77 DOUBLE PRECISION anrm, rcond
81 DOUBLE PRECISION r( nmax ), r1( nmax ), r2( nmax )
82 COMPLEX*16 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 dble, dcmplx
109 WRITE( nout, fmt = * )
116 a( i, j ) = dcmplx( 1.d0 / dble( i+j ),
117 $ -1.d0 / dble( i+j ) )
118 af( i, j ) = dcmplx( 1.d0 / dble( i+j ),
119 $ -1.d0 / dble( i+j ) )
131 IF(
lsamen( 2, c2,
'SY' ) )
THEN
141 CALL
zsytrf(
'/', 0, a, 1, ip, w, 1, info )
142 CALL
chkxer(
'ZSYTRF', infot, nout, lerr, ok )
144 CALL
zsytrf(
'U', -1, a, 1, ip, w, 1, info )
145 CALL
chkxer(
'ZSYTRF', infot, nout, lerr, ok )
147 CALL
zsytrf(
'U', 2, a, 1, ip, w, 4, info )
148 CALL
chkxer(
'ZSYTRF', infot, nout, lerr, ok )
154 CALL
zsytf2(
'/', 0, a, 1, ip, info )
155 CALL
chkxer(
'ZSYTF2', infot, nout, lerr, ok )
157 CALL
zsytf2(
'U', -1, a, 1, ip, info )
158 CALL
chkxer(
'ZSYTF2', infot, nout, lerr, ok )
160 CALL
zsytf2(
'U', 2, a, 1, ip, info )
161 CALL
chkxer(
'ZSYTF2', infot, nout, lerr, ok )
167 CALL
zsytri(
'/', 0, a, 1, ip, w, info )
168 CALL
chkxer(
'ZSYTRI', infot, nout, lerr, ok )
170 CALL
zsytri(
'U', -1, a, 1, ip, w, info )
171 CALL
chkxer(
'ZSYTRI', infot, nout, lerr, ok )
173 CALL
zsytri(
'U', 2, a, 1, ip, w, info )
174 CALL
chkxer(
'ZSYTRI', infot, nout, lerr, ok )
180 CALL
zsytri2(
'/', 0, a, 1, ip, w, 1, info )
181 CALL
chkxer(
'ZSYTRI2', infot, nout, lerr, ok )
183 CALL
zsytri2(
'U', -1, a, 1, ip, w, 1, info )
184 CALL
chkxer(
'ZSYTRI2', infot, nout, lerr, ok )
186 CALL
zsytri2(
'U', 2, a, 1, ip, w, 1, info )
187 CALL
chkxer(
'ZSYTRI2', infot, nout, lerr, ok )
193 CALL
zsytrs(
'/', 0, 0, a, 1, ip, b, 1, info )
194 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
196 CALL
zsytrs(
'U', -1, 0, a, 1, ip, b, 1, info )
197 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
199 CALL
zsytrs(
'U', 0, -1, a, 1, ip, b, 1, info )
200 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
202 CALL
zsytrs(
'U', 2, 1, a, 1, ip, b, 2, info )
203 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
205 CALL
zsytrs(
'U', 2, 1, a, 2, ip, b, 1, info )
206 CALL
chkxer(
'ZSYTRS', infot, nout, lerr, ok )
212 CALL
zsyrfs(
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2, w,
214 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
216 CALL
zsyrfs(
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
218 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
220 CALL
zsyrfs(
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
222 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
224 CALL
zsyrfs(
'U', 2, 1, a, 1, af, 2, ip, b, 2, x, 2, r1, r2, w,
226 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
228 CALL
zsyrfs(
'U', 2, 1, a, 2, af, 1, ip, b, 2, x, 2, r1, r2, w,
230 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
232 CALL
zsyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 1, x, 2, r1, r2, w,
234 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
236 CALL
zsyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 2, x, 1, r1, r2, w,
238 CALL
chkxer(
'ZSYRFS', infot, nout, lerr, ok )
244 CALL
zsycon(
'/', 0, a, 1, ip, anrm, rcond, w, info )
245 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
247 CALL
zsycon(
'U', -1, a, 1, ip, anrm, rcond, w, info )
248 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
250 CALL
zsycon(
'U', 2, a, 1, ip, anrm, rcond, w, info )
251 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
253 CALL
zsycon(
'U', 1, a, 1, ip, -anrm, rcond, w, info )
254 CALL
chkxer(
'ZSYCON', infot, nout, lerr, ok )
256 ELSE IF(
lsamen( 2, c2,
'SP' ) )
THEN
266 CALL
zsptrf(
'/', 0, a, ip, info )
267 CALL
chkxer(
'ZSPTRF', infot, nout, lerr, ok )
269 CALL
zsptrf(
'U', -1, a, ip, info )
270 CALL
chkxer(
'ZSPTRF', infot, nout, lerr, ok )
276 CALL
zsptri(
'/', 0, a, ip, w, info )
277 CALL
chkxer(
'ZSPTRI', infot, nout, lerr, ok )
279 CALL
zsptri(
'U', -1, a, ip, w, info )
280 CALL
chkxer(
'ZSPTRI', infot, nout, lerr, ok )
286 CALL
zsptrs(
'/', 0, 0, a, ip, b, 1, info )
287 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
289 CALL
zsptrs(
'U', -1, 0, a, ip, b, 1, info )
290 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
292 CALL
zsptrs(
'U', 0, -1, a, ip, b, 1, info )
293 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
295 CALL
zsptrs(
'U', 2, 1, a, ip, b, 1, info )
296 CALL
chkxer(
'ZSPTRS', infot, nout, lerr, ok )
302 CALL
zsprfs(
'/', 0, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
304 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
306 CALL
zsprfs(
'U', -1, 0, a, af, ip, b, 1, x, 1, r1, r2, w, r,
308 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
310 CALL
zsprfs(
'U', 0, -1, a, af, ip, b, 1, x, 1, r1, r2, w, r,
312 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
314 CALL
zsprfs(
'U', 2, 1, a, af, ip, b, 1, x, 2, r1, r2, w, r,
316 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
318 CALL
zsprfs(
'U', 2, 1, a, af, ip, b, 2, x, 1, r1, r2, w, r,
320 CALL
chkxer(
'ZSPRFS', infot, nout, lerr, ok )
326 CALL
zspcon(
'/', 0, a, ip, anrm, rcond, w, info )
327 CALL
chkxer(
'ZSPCON', infot, nout, lerr, ok )
329 CALL
zspcon(
'U', -1, a, ip, anrm, rcond, w, info )
330 CALL
chkxer(
'ZSPCON', infot, nout, lerr, ok )
332 CALL
zspcon(
'U', 1, a, ip, -anrm, rcond, w, info )
333 CALL
chkxer(
'ZSPCON', infot, nout, lerr, ok )
338 CALL
alaesm( path, ok, nout )