80 INTEGER ip( nmax ), iw( nmax )
81 REAL a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
82 $ r1( nmax ), r2( nmax ), w( 3*nmax ), x( nmax )
99 COMMON / infoc / infot, nout, ok, lerr
100 COMMON / srnamc / srnamt
108 WRITE( nout, fmt = * )
115 a( i, j ) = 1. /
REAL( i+j )
116 af( i, j ) = 1. /
REAL( i+j )
130 IF(
lsamen( 2, c2,
'SY' ) )
THEN
140 CALL
ssytrf(
'/', 0, a, 1, ip, w, 1, info )
141 CALL
chkxer(
'SSYTRF', infot, nout, lerr, ok )
143 CALL
ssytrf(
'U', -1, a, 1, ip, w, 1, info )
144 CALL
chkxer(
'SSYTRF', infot, nout, lerr, ok )
146 CALL
ssytrf(
'U', 2, a, 1, ip, w, 4, info )
147 CALL
chkxer(
'SSYTRF', infot, nout, lerr, ok )
153 CALL
ssytf2(
'/', 0, a, 1, ip, info )
154 CALL
chkxer(
'SSYTF2', infot, nout, lerr, ok )
156 CALL
ssytf2(
'U', -1, a, 1, ip, info )
157 CALL
chkxer(
'SSYTF2', infot, nout, lerr, ok )
159 CALL
ssytf2(
'U', 2, a, 1, ip, info )
160 CALL
chkxer(
'SSYTF2', infot, nout, lerr, ok )
166 CALL
ssytri(
'/', 0, a, 1, ip, w, info )
167 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
169 CALL
ssytri(
'U', -1, a, 1, ip, w, info )
170 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
172 CALL
ssytri(
'U', 2, a, 1, ip, w, info )
173 CALL
chkxer(
'SSYTRI', infot, nout, lerr, ok )
179 CALL
ssytri2(
'/', 0, a, 1, ip, w, iw(1), info )
180 CALL
chkxer(
'SSYTRI2', infot, nout, lerr, ok )
182 CALL
ssytri2(
'U', -1, a, 1, ip, w, iw(1), info )
183 CALL
chkxer(
'SSYTRI2', infot, nout, lerr, ok )
185 CALL
ssytri2(
'U', 2, a, 1, ip, w, iw(1), info )
186 CALL
chkxer(
'SSYTRI2', infot, nout, lerr, ok )
192 CALL
ssytrs(
'/', 0, 0, a, 1, ip, b, 1, info )
193 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
195 CALL
ssytrs(
'U', -1, 0, a, 1, ip, b, 1, info )
196 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
198 CALL
ssytrs(
'U', 0, -1, a, 1, ip, b, 1, info )
199 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
201 CALL
ssytrs(
'U', 2, 1, a, 1, ip, b, 2, info )
202 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
204 CALL
ssytrs(
'U', 2, 1, a, 2, ip, b, 1, info )
205 CALL
chkxer(
'SSYTRS', infot, nout, lerr, ok )
211 CALL
ssyrfs(
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2, w,
213 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
215 CALL
ssyrfs(
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
217 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
219 CALL
ssyrfs(
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1, r1, r2,
221 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
223 CALL
ssyrfs(
'U', 2, 1, a, 1, af, 2, ip, b, 2, x, 2, r1, r2, w,
225 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
227 CALL
ssyrfs(
'U', 2, 1, a, 2, af, 1, ip, b, 2, x, 2, r1, r2, w,
229 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
231 CALL
ssyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 1, x, 2, r1, r2, w,
233 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
235 CALL
ssyrfs(
'U', 2, 1, a, 2, af, 2, ip, b, 2, x, 1, r1, r2, w,
237 CALL
chkxer(
'SSYRFS', infot, nout, lerr, ok )
243 CALL
ssycon(
'/', 0, a, 1, ip, anrm, rcond, w, iw, info )
244 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
246 CALL
ssycon(
'U', -1, a, 1, ip, anrm, rcond, w, iw, info )
247 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
249 CALL
ssycon(
'U', 2, a, 1, ip, anrm, rcond, w, iw, info )
250 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
252 CALL
ssycon(
'U', 1, a, 1, ip, -1.0, rcond, w, iw, info )
253 CALL
chkxer(
'SSYCON', infot, nout, lerr, ok )
255 ELSE IF(
lsamen( 2, c2,
'SP' ) )
THEN
265 CALL
ssptrf(
'/', 0, a, ip, info )
266 CALL
chkxer(
'SSPTRF', infot, nout, lerr, ok )
268 CALL
ssptrf(
'U', -1, a, ip, info )
269 CALL
chkxer(
'SSPTRF', infot, nout, lerr, ok )
275 CALL
ssptri(
'/', 0, a, ip, w, info )
276 CALL
chkxer(
'SSPTRI', infot, nout, lerr, ok )
278 CALL
ssptri(
'U', -1, a, ip, w, info )
279 CALL
chkxer(
'SSPTRI', infot, nout, lerr, ok )
285 CALL
ssptrs(
'/', 0, 0, a, ip, b, 1, info )
286 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
288 CALL
ssptrs(
'U', -1, 0, a, ip, b, 1, info )
289 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
291 CALL
ssptrs(
'U', 0, -1, a, ip, b, 1, info )
292 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
294 CALL
ssptrs(
'U', 2, 1, a, ip, b, 1, info )
295 CALL
chkxer(
'SSPTRS', infot, nout, lerr, ok )
301 CALL
ssprfs(
'/', 0, 0, a, af, ip, b, 1, x, 1, r1, r2, w, iw,
303 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
305 CALL
ssprfs(
'U', -1, 0, a, af, ip, b, 1, x, 1, r1, r2, w, iw,
307 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
309 CALL
ssprfs(
'U', 0, -1, a, af, ip, b, 1, x, 1, r1, r2, w, iw,
311 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
313 CALL
ssprfs(
'U', 2, 1, a, af, ip, b, 1, x, 2, r1, r2, w, iw,
315 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
317 CALL
ssprfs(
'U', 2, 1, a, af, ip, b, 2, x, 1, r1, r2, w, iw,
319 CALL
chkxer(
'SSPRFS', infot, nout, lerr, ok )
325 CALL
sspcon(
'/', 0, a, ip, anrm, rcond, w, iw, info )
326 CALL
chkxer(
'SSPCON', infot, nout, lerr, ok )
328 CALL
sspcon(
'U', -1, a, ip, anrm, rcond, w, iw, info )
329 CALL
chkxer(
'SSPCON', infot, nout, lerr, ok )
331 CALL
sspcon(
'U', 1, a, ip, -1.0, rcond, w, iw, info )
332 CALL
chkxer(
'SSPCON', infot, nout, lerr, ok )
337 CALL
alaesm( path, ok, nout )
subroutine alaesm(PATH, OK, NOUT)
ALAESM
subroutine sspcon(UPLO, N, AP, IPIV, ANORM, RCOND, WORK, IWORK, INFO)
SSPCON
subroutine ssytf2(UPLO, N, A, LDA, IPIV, INFO)
SSYTF2
subroutine ssytrs(UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO)
SSYTRS
subroutine ssycon(UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK, IWORK, INFO)
SSYCON
subroutine ssytri2(UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO)
SSYTRI2
subroutine ssptrs(UPLO, N, NRHS, AP, IPIV, B, LDB, INFO)
SSPTRS
subroutine chkxer(SRNAMT, INFOT, NOUT, LERR, OK)
subroutine serrsy(PATH, NUNIT)
SERRSY
logical function lsamen(N, CA, CB)
LSAMEN
subroutine ssptri(UPLO, N, AP, IPIV, WORK, INFO)
SSPTRI
subroutine ssytri(UPLO, N, A, LDA, IPIV, WORK, INFO)
SSYTRI
subroutine ssyrfs(UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, B, LDB, X, LDX, FERR, BERR, WORK, IWORK, INFO)
SSYRFS
subroutine ssprfs(UPLO, N, NRHS, AP, AFP, IPIV, B, LDB, X, LDX, FERR, BERR, WORK, IWORK, INFO)
SSPRFS
subroutine ssytrf(UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO)
SSYTRF
subroutine ssptrf(UPLO, N, AP, IPIV, INFO)
SSPTRF