78 REAL D( NMAX ), DF( NMAX ), R1( NMAX ), R2( NMAX ),
80 COMPLEX 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 cgttrf( -1, dl, e, du, du2, ip, info )
124 CALL chkxer(
'CGTTRF', infot, nout, lerr, ok )
130 CALL cgttrs(
'/', 0, 0, dl, e, du, du2, ip, x, 1, info )
131 CALL chkxer(
'CGTTRS', infot, nout, lerr, ok )
133 CALL cgttrs(
'N', -1, 0, dl, e, du, du2, ip, x, 1, info )
134 CALL chkxer(
'CGTTRS', infot, nout, lerr, ok )
136 CALL cgttrs(
'N', 0, -1, dl, e, du, du2, ip, x, 1, info )
137 CALL chkxer(
'CGTTRS', infot, nout, lerr, ok )
139 CALL cgttrs(
'N', 2, 1, dl, e, du, du2, ip, x, 1, info )
140 CALL chkxer(
'CGTTRS', infot, nout, lerr, ok )
146 CALL cgtrfs(
'/', 0, 0, dl, e, du, dlf, ef, duf, du2, ip, b, 1,
147 $ x, 1, r1, r2, w, rw, info )
148 CALL chkxer(
'CGTRFS', infot, nout, lerr, ok )
150 CALL cgtrfs(
'N', -1, 0, dl, e, du, dlf, ef, duf, du2, ip, b,
151 $ 1, x, 1, r1, r2, w, rw, info )
152 CALL chkxer(
'CGTRFS', infot, nout, lerr, ok )
154 CALL cgtrfs(
'N', 0, -1, dl, e, du, dlf, ef, duf, du2, ip, b,
155 $ 1, x, 1, r1, r2, w, rw, info )
156 CALL chkxer(
'CGTRFS', infot, nout, lerr, ok )
158 CALL cgtrfs(
'N', 2, 1, dl, e, du, dlf, ef, duf, du2, ip, b, 1,
159 $ x, 2, r1, r2, w, rw, info )
160 CALL chkxer(
'CGTRFS', infot, nout, lerr, ok )
162 CALL cgtrfs(
'N', 2, 1, dl, e, du, dlf, ef, duf, du2, ip, b, 2,
163 $ x, 1, r1, r2, w, rw, info )
164 CALL chkxer(
'CGTRFS', infot, nout, lerr, ok )
170 CALL cgtcon(
'/', 0, dl, e, du, du2, ip, anorm, rcond, w,
172 CALL chkxer(
'CGTCON', infot, nout, lerr, ok )
174 CALL cgtcon(
'I', -1, dl, e, du, du2, ip, anorm, rcond, w,
176 CALL chkxer(
'CGTCON', infot, nout, lerr, ok )
178 CALL cgtcon(
'I', 0, dl, e, du, du2, ip, -anorm, rcond, w,
180 CALL chkxer(
'CGTCON', infot, nout, lerr, ok )
182 ELSE IF( lsamen( 2, c2,
'PT' ) )
THEN
191 CALL cpttrf( -1, d, e, info )
192 CALL chkxer(
'CPTTRF', infot, nout, lerr, ok )
198 CALL cpttrs(
'/', 1, 0, d, e, x, 1, info )
199 CALL chkxer(
'CPTTRS', infot, nout, lerr, ok )
201 CALL cpttrs(
'U', -1, 0, d, e, x, 1, info )
202 CALL chkxer(
'CPTTRS', infot, nout, lerr, ok )
204 CALL cpttrs(
'U', 0, -1, d, e, x, 1, info )
205 CALL chkxer(
'CPTTRS', infot, nout, lerr, ok )
207 CALL cpttrs(
'U', 2, 1, d, e, x, 1, info )
208 CALL chkxer(
'CPTTRS', infot, nout, lerr, ok )
214 CALL cptrfs(
'/', 1, 0, d, e, df, ef, b, 1, x, 1, r1, r2, w,
216 CALL chkxer(
'CPTRFS', infot, nout, lerr, ok )
218 CALL cptrfs(
'U', -1, 0, d, e, df, ef, b, 1, x, 1, r1, r2, w,
220 CALL chkxer(
'CPTRFS', infot, nout, lerr, ok )
222 CALL cptrfs(
'U', 0, -1, d, e, df, ef, b, 1, x, 1, r1, r2, w,
224 CALL chkxer(
'CPTRFS', infot, nout, lerr, ok )
226 CALL cptrfs(
'U', 2, 1, d, e, df, ef, b, 1, x, 2, r1, r2, w,
228 CALL chkxer(
'CPTRFS', infot, nout, lerr, ok )
230 CALL cptrfs(
'U', 2, 1, d, e, df, ef, b, 2, x, 1, r1, r2, w,
232 CALL chkxer(
'CPTRFS', infot, nout, lerr, ok )
238 CALL cptcon( -1, d, e, anorm, rcond, rw, info )
239 CALL chkxer(
'CPTCON', infot, nout, lerr, ok )
241 CALL cptcon( 0, d, e, -anorm, rcond, rw, info )
242 CALL chkxer(
'CPTCON', infot, nout, lerr, ok )
247 CALL alaesm( path, ok, nout )