74 DOUBLE PRECISION ANORM, RCOND
78 DOUBLE PRECISION D( NMAX ), DF( NMAX ), R1( NMAX ), R2( NMAX ),
80 COMPLEX*16 B( NMAX ), DL( NMAX ), DLF( NMAX ), DU( NMAX ),
81 $ DU2( NMAX ), DUF( NMAX ), E( NMAX ),
82 $ EF( NMAX ), W( NMAX ), X( NMAX )
98 COMMON / infoc / infot, nout, ok, lerr
99 COMMON / srnamc / srnamt
104 WRITE( nout, fmt = * )
115 IF( lsamen( 2, c2,
'GT' ) )
THEN
123 CALL zgttrf( -1, dl, e, du, du2, ip, info )
124 CALL chkxer(
'ZGTTRF', infot, nout, lerr, ok )
130 CALL zgttrs(
'/', 0, 0, dl, e, du, du2, ip, x, 1, info )
131 CALL chkxer(
'ZGTTRS', infot, nout, lerr, ok )
133 CALL zgttrs(
'N', -1, 0, dl, e, du, du2, ip, x, 1, info )
134 CALL chkxer(
'ZGTTRS', infot, nout, lerr, ok )
136 CALL zgttrs(
'N', 0, -1, dl, e, du, du2, ip, x, 1, info )
137 CALL chkxer(
'ZGTTRS', infot, nout, lerr, ok )
139 CALL zgttrs(
'N', 2, 1, dl, e, du, du2, ip, x, 1, info )
140 CALL chkxer(
'ZGTTRS', infot, nout, lerr, ok )
146 CALL zgtrfs(
'/', 0, 0, dl, e, du, dlf, ef, duf, du2, ip, b, 1,
147 $ x, 1, r1, r2, w, rw, info )
148 CALL chkxer(
'ZGTRFS', infot, nout, lerr, ok )
150 CALL zgtrfs(
'N', -1, 0, dl, e, du, dlf, ef, duf, du2, ip, b,
151 $ 1, x, 1, r1, r2, w, rw, info )
152 CALL chkxer(
'ZGTRFS', infot, nout, lerr, ok )
154 CALL zgtrfs(
'N', 0, -1, dl, e, du, dlf, ef, duf, du2, ip, b,
155 $ 1, x, 1, r1, r2, w, rw, info )
156 CALL chkxer(
'ZGTRFS', infot, nout, lerr, ok )
158 CALL zgtrfs(
'N', 2, 1, dl, e, du, dlf, ef, duf, du2, ip, b, 1,
159 $ x, 2, r1, r2, w, rw, info )
160 CALL chkxer(
'ZGTRFS', infot, nout, lerr, ok )
162 CALL zgtrfs(
'N', 2, 1, dl, e, du, dlf, ef, duf, du2, ip, b, 2,
163 $ x, 1, r1, r2, w, rw, info )
164 CALL chkxer(
'ZGTRFS', infot, nout, lerr, ok )
170 CALL zgtcon(
'/', 0, dl, e, du, du2, ip, anorm, rcond, w,
172 CALL chkxer(
'ZGTCON', infot, nout, lerr, ok )
174 CALL zgtcon(
'I', -1, dl, e, du, du2, ip, anorm, rcond, w,
176 CALL chkxer(
'ZGTCON', infot, nout, lerr, ok )
178 CALL zgtcon(
'I', 0, dl, e, du, du2, ip, -anorm, rcond, w,
180 CALL chkxer(
'ZGTCON', infot, nout, lerr, ok )
182 ELSE IF( lsamen( 2, c2,
'PT' ) )
THEN
191 CALL zpttrf( -1, d, e, info )
192 CALL chkxer(
'ZPTTRF', infot, nout, lerr, ok )
198 CALL zpttrs(
'/', 1, 0, d, e, x, 1, info )
199 CALL chkxer(
'ZPTTRS', infot, nout, lerr, ok )
201 CALL zpttrs(
'U', -1, 0, d, e, x, 1, info )
202 CALL chkxer(
'ZPTTRS', infot, nout, lerr, ok )
204 CALL zpttrs(
'U', 0, -1, d, e, x, 1, info )
205 CALL chkxer(
'ZPTTRS', infot, nout, lerr, ok )
207 CALL zpttrs(
'U', 2, 1, d, e, x, 1, info )
208 CALL chkxer(
'ZPTTRS', infot, nout, lerr, ok )
214 CALL zptrfs(
'/', 1, 0, d, e, df, ef, b, 1, x, 1, r1, r2, w,
216 CALL chkxer(
'ZPTRFS', infot, nout, lerr, ok )
218 CALL zptrfs(
'U', -1, 0, d, e, df, ef, b, 1, x, 1, r1, r2, w,
220 CALL chkxer(
'ZPTRFS', infot, nout, lerr, ok )
222 CALL zptrfs(
'U', 0, -1, d, e, df, ef, b, 1, x, 1, r1, r2, w,
224 CALL chkxer(
'ZPTRFS', infot, nout, lerr, ok )
226 CALL zptrfs(
'U', 2, 1, d, e, df, ef, b, 1, x, 2, r1, r2, w,
228 CALL chkxer(
'ZPTRFS', infot, nout, lerr, ok )
230 CALL zptrfs(
'U', 2, 1, d, e, df, ef, b, 2, x, 1, r1, r2, w,
232 CALL chkxer(
'ZPTRFS', infot, nout, lerr, ok )
238 CALL zptcon( -1, d, e, anorm, rcond, rw, info )
239 CALL chkxer(
'ZPTCON', infot, nout, lerr, ok )
241 CALL zptcon( 0, d, e, -anorm, rcond, rw, info )
242 CALL chkxer(
'ZPTCON', infot, nout, lerr, ok )
247 CALL alaesm( path, ok, nout )