zerrvx.c
Go to the documentation of this file.
00001 /* zerrvx.f -- translated by f2c (version 20061008).
00002    You must link the resulting object file with libf2c:
00003         on Microsoft Windows system, link with libf2c.lib;
00004         on Linux or Unix systems, link with .../path/to/libf2c.a -lm
00005         or, if you install libf2c.a in a standard place, with -lf2c -lm
00006         -- in that order, at the end of the command line, as in
00007                 cc *.o -lf2c -lm
00008         Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
00009 
00010                 http://www.netlib.org/f2c/libf2c.zip
00011 */
00012 
00013 #include "f2c.h"
00014 #include "blaswrap.h"
00015 
00016 /* Common Block Declarations */
00017 
00018 struct {
00019     integer infot, nout;
00020     logical ok, lerr;
00021 } infoc_;
00022 
00023 #define infoc_1 infoc_
00024 
00025 struct {
00026     char srnamt[32];
00027 } srnamc_;
00028 
00029 #define srnamc_1 srnamc_
00030 
00031 /* Table of constant values */
00032 
00033 static integer c__2 = 2;
00034 static integer c_n1 = -1;
00035 static integer c__0 = 0;
00036 static integer c__1 = 1;
00037 static integer c__3 = 3;
00038 static integer c__4 = 4;
00039 
00040 /* Subroutine */ int zerrvx_(char *path, integer *nunit)
00041 {
00042     /* Format strings */
00043     static char fmt_9999[] = "(1x,a3,\002 drivers passed the tests of the er"
00044             "ror exits\002)";
00045     static char fmt_9998[] = "(\002 *** \002,a3,\002 drivers failed the test"
00046             "s of the error \002,\002exits ***\002)";
00047 
00048     /* System generated locals */
00049     integer i__1;
00050     doublereal d__1, d__2;
00051     doublecomplex z__1;
00052 
00053     /* Builtin functions */
00054     integer s_wsle(cilist *), e_wsle(void);
00055     /* Subroutine */ int s_copy(char *, char *, ftnlen, ftnlen);
00056     integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void);
00057 
00058     /* Local variables */
00059     doublecomplex a[16] /* was [4][4] */, b[4];
00060     doublereal c__[4];
00061     integer i__, j;
00062     doublereal r__[4];
00063     doublecomplex w[8], x[4];
00064     char c2[2];
00065     doublereal r1[4], r2[4];
00066     doublecomplex af[16]        /* was [4][4] */;
00067     char eq[1];
00068     doublereal rf[4];
00069     integer ip[4];
00070     doublereal rw[4];
00071     integer info;
00072     doublereal rcond;
00073     extern /* Subroutine */ int zgbsv_(integer *, integer *, integer *, 
00074             integer *, doublecomplex *, integer *, integer *, doublecomplex *, 
00075              integer *, integer *), zgesv_(integer *, integer *, 
00076             doublecomplex *, integer *, integer *, doublecomplex *, integer *, 
00077              integer *), zhesv_(char *, integer *, integer *, doublecomplex *, 
00078              integer *, integer *, doublecomplex *, integer *, doublecomplex *
00079 , integer *, integer *), zpbsv_(char *, integer *, 
00080             integer *, integer *, doublecomplex *, integer *, doublecomplex *, 
00081              integer *, integer *), zhpsv_(char *, integer *, integer 
00082             *, doublecomplex *, integer *, doublecomplex *, integer *, 
00083             integer *), zgtsv_(integer *, integer *, doublecomplex *, 
00084             doublecomplex *, doublecomplex *, doublecomplex *, integer *, 
00085             integer *), zposv_(char *, integer *, integer *, doublecomplex *, 
00086             integer *, doublecomplex *, integer *, integer *), zppsv_(
00087             char *, integer *, integer *, doublecomplex *, doublecomplex *, 
00088             integer *, integer *), zspsv_(char *, integer *, integer *
00089 , doublecomplex *, integer *, doublecomplex *, integer *, integer 
00090             *), zptsv_(integer *, integer *, doublereal *, 
00091             doublecomplex *, doublecomplex *, integer *, integer *), zsysv_(
00092             char *, integer *, integer *, doublecomplex *, integer *, integer 
00093             *, doublecomplex *, integer *, doublecomplex *, integer *, 
00094             integer *);
00095     extern logical lsamen_(integer *, char *, char *);
00096     extern /* Subroutine */ int chkxer_(char *, integer *, integer *, logical 
00097             *, logical *), zgbsvx_(char *, char *, integer *, integer 
00098             *, integer *, integer *, doublecomplex *, integer *, 
00099             doublecomplex *, integer *, integer *, char *, doublereal *, 
00100             doublereal *, doublecomplex *, integer *, doublecomplex *, 
00101             integer *, doublereal *, doublereal *, doublereal *, 
00102             doublecomplex *, doublereal *, integer *),
00103              zgesvx_(char *, char *, integer *, integer *, doublecomplex *, 
00104             integer *, doublecomplex *, integer *, integer *, char *, 
00105             doublereal *, doublereal *, doublecomplex *, integer *, 
00106             doublecomplex *, integer *, doublereal *, doublereal *, 
00107             doublereal *, doublecomplex *, doublereal *, integer *), zhesvx_(char *, char *, integer *, integer *, 
00108             doublecomplex *, integer *, doublecomplex *, integer *, integer *, 
00109              doublecomplex *, integer *, doublecomplex *, integer *, 
00110             doublereal *, doublereal *, doublereal *, doublecomplex *, 
00111             integer *, doublereal *, integer *), zpbsvx_(char 
00112             *, char *, integer *, integer *, integer *, doublecomplex *, 
00113             integer *, doublecomplex *, integer *, char *, doublereal *, 
00114             doublecomplex *, integer *, doublecomplex *, integer *, 
00115             doublereal *, doublereal *, doublereal *, doublecomplex *, 
00116             doublereal *, integer *), zhpsvx_(char *, 
00117             char *, integer *, integer *, doublecomplex *, doublecomplex *, 
00118             integer *, doublecomplex *, integer *, doublecomplex *, integer *, 
00119              doublereal *, doublereal *, doublereal *, doublecomplex *, 
00120             doublereal *, integer *), zgtsvx_(char *, char *, 
00121             integer *, integer *, doublecomplex *, doublecomplex *, 
00122             doublecomplex *, doublecomplex *, doublecomplex *, doublecomplex *
00123 , doublecomplex *, integer *, doublecomplex *, integer *, 
00124             doublecomplex *, integer *, doublereal *, doublereal *, 
00125             doublereal *, doublecomplex *, doublereal *, integer *), zposvx_(char *, char *, integer *, integer *, 
00126             doublecomplex *, integer *, doublecomplex *, integer *, char *, 
00127             doublereal *, doublecomplex *, integer *, doublecomplex *, 
00128             integer *, doublereal *, doublereal *, doublereal *, 
00129             doublecomplex *, doublereal *, integer *),
00130              zppsvx_(char *, char *, integer *, integer *, doublecomplex *, 
00131             doublecomplex *, char *, doublereal *, doublecomplex *, integer *, 
00132              doublecomplex *, integer *, doublereal *, doublereal *, 
00133             doublereal *, doublecomplex *, doublereal *, integer *), zspsvx_(char *, char *, integer *, integer *, 
00134             doublecomplex *, doublecomplex *, integer *, doublecomplex *, 
00135             integer *, doublecomplex *, integer *, doublereal *, doublereal *, 
00136              doublereal *, doublecomplex *, doublereal *, integer *), zptsvx_(char *, integer *, integer *, doublereal *, 
00137             doublecomplex *, doublereal *, doublecomplex *, doublecomplex *, 
00138             integer *, doublecomplex *, integer *, doublereal *, doublereal *, 
00139              doublereal *, doublecomplex *, doublereal *, integer *), 
00140             zsysvx_(char *, char *, integer *, integer *, doublecomplex *, 
00141             integer *, doublecomplex *, integer *, integer *, doublecomplex *, 
00142              integer *, doublecomplex *, integer *, doublereal *, doublereal *
00143 , doublereal *, doublecomplex *, integer *, doublereal *, integer 
00144             *);
00145 
00146     /* Fortran I/O blocks */
00147     static cilist io___1 = { 0, 0, 0, 0, 0 };
00148     static cilist io___20 = { 0, 0, 0, fmt_9999, 0 };
00149     static cilist io___21 = { 0, 0, 0, fmt_9998, 0 };
00150 
00151 
00152 
00153 /*  -- LAPACK test routine (version 3.1.1) -- */
00154 /*     Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
00155 /*     January 2007 */
00156 
00157 /*     .. Scalar Arguments .. */
00158 /*     .. */
00159 
00160 /*  Purpose */
00161 /*  ======= */
00162 
00163 /*  ZERRVX tests the error exits for the COMPLEX*16 driver routines */
00164 /*  for solving linear systems of equations. */
00165 
00166 /*  Arguments */
00167 /*  ========= */
00168 
00169 /*  PATH    (input) CHARACTER*3 */
00170 /*          The LAPACK path name for the routines to be tested. */
00171 
00172 /*  NUNIT   (input) INTEGER */
00173 /*          The unit number for output. */
00174 
00175 /*  ===================================================================== */
00176 
00177 /*     .. Parameters .. */
00178 /*     .. */
00179 /*     .. Local Scalars .. */
00180 /*     .. */
00181 /*     .. Local Arrays .. */
00182 /*     .. */
00183 /*     .. External Functions .. */
00184 /*     .. */
00185 /*     .. External Subroutines .. */
00186 /*     .. */
00187 /*     .. Scalars in Common .. */
00188 /*     .. */
00189 /*     .. Common blocks .. */
00190 /*     .. */
00191 /*     .. Intrinsic Functions .. */
00192 /*     .. */
00193 /*     .. Executable Statements .. */
00194 
00195     infoc_1.nout = *nunit;
00196     io___1.ciunit = infoc_1.nout;
00197     s_wsle(&io___1);
00198     e_wsle();
00199     s_copy(c2, path + 1, (ftnlen)2, (ftnlen)2);
00200 
00201 /*     Set the variables to innocuous values. */
00202 
00203     for (j = 1; j <= 4; ++j) {
00204         for (i__ = 1; i__ <= 4; ++i__) {
00205             i__1 = i__ + (j << 2) - 5;
00206             d__1 = 1. / (doublereal) (i__ + j);
00207             d__2 = -1. / (doublereal) (i__ + j);
00208             z__1.r = d__1, z__1.i = d__2;
00209             a[i__1].r = z__1.r, a[i__1].i = z__1.i;
00210             i__1 = i__ + (j << 2) - 5;
00211             d__1 = 1. / (doublereal) (i__ + j);
00212             d__2 = -1. / (doublereal) (i__ + j);
00213             z__1.r = d__1, z__1.i = d__2;
00214             af[i__1].r = z__1.r, af[i__1].i = z__1.i;
00215 /* L10: */
00216         }
00217         i__1 = j - 1;
00218         b[i__1].r = 0., b[i__1].i = 0.;
00219         r1[j - 1] = 0.;
00220         r2[j - 1] = 0.;
00221         i__1 = j - 1;
00222         w[i__1].r = 0., w[i__1].i = 0.;
00223         i__1 = j - 1;
00224         x[i__1].r = 0., x[i__1].i = 0.;
00225         c__[j - 1] = 0.;
00226         r__[j - 1] = 0.;
00227         ip[j - 1] = j;
00228 /* L20: */
00229     }
00230     *(unsigned char *)eq = ' ';
00231     infoc_1.ok = TRUE_;
00232 
00233     if (lsamen_(&c__2, c2, "GE")) {
00234 
00235 /*        ZGESV */
00236 
00237         s_copy(srnamc_1.srnamt, "ZGESV ", (ftnlen)32, (ftnlen)6);
00238         infoc_1.infot = 1;
00239         zgesv_(&c_n1, &c__0, a, &c__1, ip, b, &c__1, &info);
00240         chkxer_("ZGESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00241                 infoc_1.ok);
00242         infoc_1.infot = 2;
00243         zgesv_(&c__0, &c_n1, a, &c__1, ip, b, &c__1, &info);
00244         chkxer_("ZGESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00245                 infoc_1.ok);
00246         infoc_1.infot = 4;
00247         zgesv_(&c__2, &c__1, a, &c__1, ip, b, &c__2, &info);
00248         chkxer_("ZGESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00249                 infoc_1.ok);
00250         infoc_1.infot = 7;
00251         zgesv_(&c__2, &c__1, a, &c__2, ip, b, &c__1, &info);
00252         chkxer_("ZGESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00253                 infoc_1.ok);
00254 
00255 /*        ZGESVX */
00256 
00257         s_copy(srnamc_1.srnamt, "ZGESVX", (ftnlen)32, (ftnlen)6);
00258         infoc_1.infot = 1;
00259         zgesvx_("/", "N", &c__0, &c__0, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00260                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00261         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00262                 infoc_1.ok);
00263         infoc_1.infot = 2;
00264         zgesvx_("N", "/", &c__0, &c__0, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00265                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00266         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00267                 infoc_1.ok);
00268         infoc_1.infot = 3;
00269         zgesvx_("N", "N", &c_n1, &c__0, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00270                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00271         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00272                 infoc_1.ok);
00273         infoc_1.infot = 4;
00274         zgesvx_("N", "N", &c__0, &c_n1, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00275                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00276         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00277                 infoc_1.ok);
00278         infoc_1.infot = 6;
00279         zgesvx_("N", "N", &c__2, &c__1, a, &c__1, af, &c__2, ip, eq, r__, c__, 
00280                  b, &c__2, x, &c__2, &rcond, r1, r2, w, rw, &info);
00281         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00282                 infoc_1.ok);
00283         infoc_1.infot = 8;
00284         zgesvx_("N", "N", &c__2, &c__1, a, &c__2, af, &c__1, ip, eq, r__, c__, 
00285                  b, &c__2, x, &c__2, &rcond, r1, r2, w, rw, &info);
00286         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00287                 infoc_1.ok);
00288         infoc_1.infot = 10;
00289         *(unsigned char *)eq = '/';
00290         zgesvx_("F", "N", &c__0, &c__0, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00291                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00292         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00293                 infoc_1.ok);
00294         infoc_1.infot = 11;
00295         *(unsigned char *)eq = 'R';
00296         zgesvx_("F", "N", &c__1, &c__0, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00297                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00298         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00299                 infoc_1.ok);
00300         infoc_1.infot = 12;
00301         *(unsigned char *)eq = 'C';
00302         zgesvx_("F", "N", &c__1, &c__0, a, &c__1, af, &c__1, ip, eq, r__, c__, 
00303                  b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00304         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00305                 infoc_1.ok);
00306         infoc_1.infot = 14;
00307         zgesvx_("N", "N", &c__2, &c__1, a, &c__2, af, &c__2, ip, eq, r__, c__, 
00308                  b, &c__1, x, &c__2, &rcond, r1, r2, w, rw, &info);
00309         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00310                 infoc_1.ok);
00311         infoc_1.infot = 16;
00312         zgesvx_("N", "N", &c__2, &c__1, a, &c__2, af, &c__2, ip, eq, r__, c__, 
00313                  b, &c__2, x, &c__1, &rcond, r1, r2, w, rw, &info);
00314         chkxer_("ZGESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00315                 infoc_1.ok);
00316 
00317     } else if (lsamen_(&c__2, c2, "GB")) {
00318 
00319 /*        ZGBSV */
00320 
00321         s_copy(srnamc_1.srnamt, "ZGBSV ", (ftnlen)32, (ftnlen)6);
00322         infoc_1.infot = 1;
00323         zgbsv_(&c_n1, &c__0, &c__0, &c__0, a, &c__1, ip, b, &c__1, &info);
00324         chkxer_("ZGBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00325                 infoc_1.ok);
00326         infoc_1.infot = 2;
00327         zgbsv_(&c__1, &c_n1, &c__0, &c__0, a, &c__1, ip, b, &c__1, &info);
00328         chkxer_("ZGBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00329                 infoc_1.ok);
00330         infoc_1.infot = 3;
00331         zgbsv_(&c__1, &c__0, &c_n1, &c__0, a, &c__1, ip, b, &c__1, &info);
00332         chkxer_("ZGBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00333                 infoc_1.ok);
00334         infoc_1.infot = 4;
00335         zgbsv_(&c__0, &c__0, &c__0, &c_n1, a, &c__1, ip, b, &c__1, &info);
00336         chkxer_("ZGBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00337                 infoc_1.ok);
00338         infoc_1.infot = 6;
00339         zgbsv_(&c__1, &c__1, &c__1, &c__0, a, &c__3, ip, b, &c__1, &info);
00340         chkxer_("ZGBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00341                 infoc_1.ok);
00342         infoc_1.infot = 9;
00343         zgbsv_(&c__2, &c__0, &c__0, &c__0, a, &c__1, ip, b, &c__1, &info);
00344         chkxer_("ZGBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00345                 infoc_1.ok);
00346 
00347 /*        ZGBSVX */
00348 
00349         s_copy(srnamc_1.srnamt, "ZGBSVX", (ftnlen)32, (ftnlen)6);
00350         infoc_1.infot = 1;
00351         zgbsvx_("/", "N", &c__0, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00352                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00353                 info);
00354         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00355                 infoc_1.ok);
00356         infoc_1.infot = 2;
00357         zgbsvx_("N", "/", &c__0, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00358                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00359                 info);
00360         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00361                 infoc_1.ok);
00362         infoc_1.infot = 3;
00363         zgbsvx_("N", "N", &c_n1, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00364                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00365                 info);
00366         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00367                 infoc_1.ok);
00368         infoc_1.infot = 4;
00369         zgbsvx_("N", "N", &c__1, &c_n1, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00370                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00371                 info);
00372         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00373                 infoc_1.ok);
00374         infoc_1.infot = 5;
00375         zgbsvx_("N", "N", &c__1, &c__0, &c_n1, &c__0, a, &c__1, af, &c__1, ip, 
00376                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00377                 info);
00378         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00379                 infoc_1.ok);
00380         infoc_1.infot = 6;
00381         zgbsvx_("N", "N", &c__0, &c__0, &c__0, &c_n1, a, &c__1, af, &c__1, ip, 
00382                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00383                 info);
00384         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00385                 infoc_1.ok);
00386         infoc_1.infot = 8;
00387         zgbsvx_("N", "N", &c__1, &c__1, &c__1, &c__0, a, &c__2, af, &c__4, ip, 
00388                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00389                 info);
00390         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00391                 infoc_1.ok);
00392         infoc_1.infot = 10;
00393         zgbsvx_("N", "N", &c__1, &c__1, &c__1, &c__0, a, &c__3, af, &c__3, ip, 
00394                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00395                 info);
00396         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00397                 infoc_1.ok);
00398         infoc_1.infot = 12;
00399         *(unsigned char *)eq = '/';
00400         zgbsvx_("F", "N", &c__0, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00401                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00402                 info);
00403         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00404                 infoc_1.ok);
00405         infoc_1.infot = 13;
00406         *(unsigned char *)eq = 'R';
00407         zgbsvx_("F", "N", &c__1, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00408                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00409                 info);
00410         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00411                 infoc_1.ok);
00412         infoc_1.infot = 14;
00413         *(unsigned char *)eq = 'C';
00414         zgbsvx_("F", "N", &c__1, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00415                  eq, r__, c__, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &
00416                 info);
00417         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00418                 infoc_1.ok);
00419         infoc_1.infot = 16;
00420         zgbsvx_("N", "N", &c__2, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00421                  eq, r__, c__, b, &c__1, x, &c__2, &rcond, r1, r2, w, rw, &
00422                 info);
00423         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00424                 infoc_1.ok);
00425         infoc_1.infot = 18;
00426         zgbsvx_("N", "N", &c__2, &c__0, &c__0, &c__0, a, &c__1, af, &c__1, ip, 
00427                  eq, r__, c__, b, &c__2, x, &c__1, &rcond, r1, r2, w, rw, &
00428                 info);
00429         chkxer_("ZGBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00430                 infoc_1.ok);
00431 
00432     } else if (lsamen_(&c__2, c2, "GT")) {
00433 
00434 /*        ZGTSV */
00435 
00436         s_copy(srnamc_1.srnamt, "ZGTSV ", (ftnlen)32, (ftnlen)6);
00437         infoc_1.infot = 1;
00438         zgtsv_(&c_n1, &c__0, a, &a[4], &a[8], b, &c__1, &info);
00439         chkxer_("ZGTSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00440                 infoc_1.ok);
00441         infoc_1.infot = 2;
00442         zgtsv_(&c__0, &c_n1, a, &a[4], &a[8], b, &c__1, &info);
00443         chkxer_("ZGTSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00444                 infoc_1.ok);
00445         infoc_1.infot = 7;
00446         zgtsv_(&c__2, &c__0, a, &a[4], &a[8], b, &c__1, &info);
00447         chkxer_("ZGTSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00448                 infoc_1.ok);
00449 
00450 /*        ZGTSVX */
00451 
00452         s_copy(srnamc_1.srnamt, "ZGTSVX", (ftnlen)32, (ftnlen)6);
00453         infoc_1.infot = 1;
00454         zgtsvx_("/", "N", &c__0, &c__0, a, &a[4], &a[8], af, &af[4], &af[8], &
00455                 af[12], ip, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00456         chkxer_("ZGTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00457                 infoc_1.ok);
00458         infoc_1.infot = 2;
00459         zgtsvx_("N", "/", &c__0, &c__0, a, &a[4], &a[8], af, &af[4], &af[8], &
00460                 af[12], ip, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00461         chkxer_("ZGTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00462                 infoc_1.ok);
00463         infoc_1.infot = 3;
00464         zgtsvx_("N", "N", &c_n1, &c__0, a, &a[4], &a[8], af, &af[4], &af[8], &
00465                 af[12], ip, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00466         chkxer_("ZGTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00467                 infoc_1.ok);
00468         infoc_1.infot = 4;
00469         zgtsvx_("N", "N", &c__0, &c_n1, a, &a[4], &a[8], af, &af[4], &af[8], &
00470                 af[12], ip, b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00471         chkxer_("ZGTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00472                 infoc_1.ok);
00473         infoc_1.infot = 14;
00474         zgtsvx_("N", "N", &c__2, &c__0, a, &a[4], &a[8], af, &af[4], &af[8], &
00475                 af[12], ip, b, &c__1, x, &c__2, &rcond, r1, r2, w, rw, &info);
00476         chkxer_("ZGTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00477                 infoc_1.ok);
00478         infoc_1.infot = 16;
00479         zgtsvx_("N", "N", &c__2, &c__0, a, &a[4], &a[8], af, &af[4], &af[8], &
00480                 af[12], ip, b, &c__2, x, &c__1, &rcond, r1, r2, w, rw, &info);
00481         chkxer_("ZGTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00482                 infoc_1.ok);
00483 
00484     } else if (lsamen_(&c__2, c2, "PO")) {
00485 
00486 /*        ZPOSV */
00487 
00488         s_copy(srnamc_1.srnamt, "ZPOSV ", (ftnlen)32, (ftnlen)6);
00489         infoc_1.infot = 1;
00490         zposv_("/", &c__0, &c__0, a, &c__1, b, &c__1, &info);
00491         chkxer_("ZPOSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00492                 infoc_1.ok);
00493         infoc_1.infot = 2;
00494         zposv_("U", &c_n1, &c__0, a, &c__1, b, &c__1, &info);
00495         chkxer_("ZPOSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00496                 infoc_1.ok);
00497         infoc_1.infot = 3;
00498         zposv_("U", &c__0, &c_n1, a, &c__1, b, &c__1, &info);
00499         chkxer_("ZPOSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00500                 infoc_1.ok);
00501         infoc_1.infot = 5;
00502         zposv_("U", &c__2, &c__0, a, &c__1, b, &c__2, &info);
00503         chkxer_("ZPOSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00504                 infoc_1.ok);
00505         infoc_1.infot = 7;
00506         zposv_("U", &c__2, &c__0, a, &c__2, b, &c__1, &info);
00507         chkxer_("ZPOSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00508                 infoc_1.ok);
00509 
00510 /*        ZPOSVX */
00511 
00512         s_copy(srnamc_1.srnamt, "ZPOSVX", (ftnlen)32, (ftnlen)6);
00513         infoc_1.infot = 1;
00514         zposvx_("/", "U", &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, b, &
00515                 c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00516         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00517                 infoc_1.ok);
00518         infoc_1.infot = 2;
00519         zposvx_("N", "/", &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, b, &
00520                 c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00521         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00522                 infoc_1.ok);
00523         infoc_1.infot = 3;
00524         zposvx_("N", "U", &c_n1, &c__0, a, &c__1, af, &c__1, eq, c__, b, &
00525                 c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00526         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00527                 infoc_1.ok);
00528         infoc_1.infot = 4;
00529         zposvx_("N", "U", &c__0, &c_n1, a, &c__1, af, &c__1, eq, c__, b, &
00530                 c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00531         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00532                 infoc_1.ok);
00533         infoc_1.infot = 6;
00534         zposvx_("N", "U", &c__2, &c__0, a, &c__1, af, &c__2, eq, c__, b, &
00535                 c__2, x, &c__2, &rcond, r1, r2, w, rw, &info);
00536         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00537                 infoc_1.ok);
00538         infoc_1.infot = 8;
00539         zposvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__1, eq, c__, b, &
00540                 c__2, x, &c__2, &rcond, r1, r2, w, rw, &info);
00541         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00542                 infoc_1.ok);
00543         infoc_1.infot = 9;
00544         *(unsigned char *)eq = '/';
00545         zposvx_("F", "U", &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, b, &
00546                 c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00547         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00548                 infoc_1.ok);
00549         infoc_1.infot = 10;
00550         *(unsigned char *)eq = 'Y';
00551         zposvx_("F", "U", &c__1, &c__0, a, &c__1, af, &c__1, eq, c__, b, &
00552                 c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00553         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00554                 infoc_1.ok);
00555         infoc_1.infot = 12;
00556         zposvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, eq, c__, b, &
00557                 c__1, x, &c__2, &rcond, r1, r2, w, rw, &info);
00558         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00559                 infoc_1.ok);
00560         infoc_1.infot = 14;
00561         zposvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, eq, c__, b, &
00562                 c__2, x, &c__1, &rcond, r1, r2, w, rw, &info);
00563         chkxer_("ZPOSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00564                 infoc_1.ok);
00565 
00566     } else if (lsamen_(&c__2, c2, "PP")) {
00567 
00568 /*        ZPPSV */
00569 
00570         s_copy(srnamc_1.srnamt, "ZPPSV ", (ftnlen)32, (ftnlen)6);
00571         infoc_1.infot = 1;
00572         zppsv_("/", &c__0, &c__0, a, b, &c__1, &info);
00573         chkxer_("ZPPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00574                 infoc_1.ok);
00575         infoc_1.infot = 2;
00576         zppsv_("U", &c_n1, &c__0, a, b, &c__1, &info);
00577         chkxer_("ZPPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00578                 infoc_1.ok);
00579         infoc_1.infot = 3;
00580         zppsv_("U", &c__0, &c_n1, a, b, &c__1, &info);
00581         chkxer_("ZPPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00582                 infoc_1.ok);
00583         infoc_1.infot = 6;
00584         zppsv_("U", &c__2, &c__0, a, b, &c__1, &info);
00585         chkxer_("ZPPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00586                 infoc_1.ok);
00587 
00588 /*        ZPPSVX */
00589 
00590         s_copy(srnamc_1.srnamt, "ZPPSVX", (ftnlen)32, (ftnlen)6);
00591         infoc_1.infot = 1;
00592         zppsvx_("/", "U", &c__0, &c__0, a, af, eq, c__, b, &c__1, x, &c__1, &
00593                 rcond, r1, r2, w, rw, &info);
00594         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00595                 infoc_1.ok);
00596         infoc_1.infot = 2;
00597         zppsvx_("N", "/", &c__0, &c__0, a, af, eq, c__, b, &c__1, x, &c__1, &
00598                 rcond, r1, r2, w, rw, &info);
00599         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00600                 infoc_1.ok);
00601         infoc_1.infot = 3;
00602         zppsvx_("N", "U", &c_n1, &c__0, a, af, eq, c__, b, &c__1, x, &c__1, &
00603                 rcond, r1, r2, w, rw, &info);
00604         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00605                 infoc_1.ok);
00606         infoc_1.infot = 4;
00607         zppsvx_("N", "U", &c__0, &c_n1, a, af, eq, c__, b, &c__1, x, &c__1, &
00608                 rcond, r1, r2, w, rw, &info);
00609         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00610                 infoc_1.ok);
00611         infoc_1.infot = 7;
00612         *(unsigned char *)eq = '/';
00613         zppsvx_("F", "U", &c__0, &c__0, a, af, eq, c__, b, &c__1, x, &c__1, &
00614                 rcond, r1, r2, w, rw, &info);
00615         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00616                 infoc_1.ok);
00617         infoc_1.infot = 8;
00618         *(unsigned char *)eq = 'Y';
00619         zppsvx_("F", "U", &c__1, &c__0, a, af, eq, c__, b, &c__1, x, &c__1, &
00620                 rcond, r1, r2, w, rw, &info);
00621         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00622                 infoc_1.ok);
00623         infoc_1.infot = 10;
00624         zppsvx_("N", "U", &c__2, &c__0, a, af, eq, c__, b, &c__1, x, &c__2, &
00625                 rcond, r1, r2, w, rw, &info);
00626         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00627                 infoc_1.ok);
00628         infoc_1.infot = 12;
00629         zppsvx_("N", "U", &c__2, &c__0, a, af, eq, c__, b, &c__2, x, &c__1, &
00630                 rcond, r1, r2, w, rw, &info);
00631         chkxer_("ZPPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00632                 infoc_1.ok);
00633 
00634     } else if (lsamen_(&c__2, c2, "PB")) {
00635 
00636 /*        ZPBSV */
00637 
00638         s_copy(srnamc_1.srnamt, "ZPBSV ", (ftnlen)32, (ftnlen)6);
00639         infoc_1.infot = 1;
00640         zpbsv_("/", &c__0, &c__0, &c__0, a, &c__1, b, &c__1, &info)
00641                 ;
00642         chkxer_("ZPBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00643                 infoc_1.ok);
00644         infoc_1.infot = 2;
00645         zpbsv_("U", &c_n1, &c__0, &c__0, a, &c__1, b, &c__1, &info)
00646                 ;
00647         chkxer_("ZPBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00648                 infoc_1.ok);
00649         infoc_1.infot = 3;
00650         zpbsv_("U", &c__1, &c_n1, &c__0, a, &c__1, b, &c__1, &info)
00651                 ;
00652         chkxer_("ZPBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00653                 infoc_1.ok);
00654         infoc_1.infot = 4;
00655         zpbsv_("U", &c__0, &c__0, &c_n1, a, &c__1, b, &c__1, &info)
00656                 ;
00657         chkxer_("ZPBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00658                 infoc_1.ok);
00659         infoc_1.infot = 6;
00660         zpbsv_("U", &c__1, &c__1, &c__0, a, &c__1, b, &c__2, &info)
00661                 ;
00662         chkxer_("ZPBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00663                 infoc_1.ok);
00664         infoc_1.infot = 8;
00665         zpbsv_("U", &c__2, &c__0, &c__0, a, &c__1, b, &c__1, &info)
00666                 ;
00667         chkxer_("ZPBSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00668                 infoc_1.ok);
00669 
00670 /*        ZPBSVX */
00671 
00672         s_copy(srnamc_1.srnamt, "ZPBSVX", (ftnlen)32, (ftnlen)6);
00673         infoc_1.infot = 1;
00674         zpbsvx_("/", "U", &c__0, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00675                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00676         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00677                 infoc_1.ok);
00678         infoc_1.infot = 2;
00679         zpbsvx_("N", "/", &c__0, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00680                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00681         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00682                 infoc_1.ok);
00683         infoc_1.infot = 3;
00684         zpbsvx_("N", "U", &c_n1, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00685                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00686         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00687                 infoc_1.ok);
00688         infoc_1.infot = 4;
00689         zpbsvx_("N", "U", &c__1, &c_n1, &c__0, a, &c__1, af, &c__1, eq, c__, 
00690                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00691         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00692                 infoc_1.ok);
00693         infoc_1.infot = 5;
00694         zpbsvx_("N", "U", &c__0, &c__0, &c_n1, a, &c__1, af, &c__1, eq, c__, 
00695                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00696         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00697                 infoc_1.ok);
00698         infoc_1.infot = 7;
00699         zpbsvx_("N", "U", &c__1, &c__1, &c__0, a, &c__1, af, &c__2, eq, c__, 
00700                 b, &c__2, x, &c__2, &rcond, r1, r2, w, rw, &info);
00701         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00702                 infoc_1.ok);
00703         infoc_1.infot = 9;
00704         zpbsvx_("N", "U", &c__1, &c__1, &c__0, a, &c__2, af, &c__1, eq, c__, 
00705                 b, &c__2, x, &c__2, &rcond, r1, r2, w, rw, &info);
00706         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00707                 infoc_1.ok);
00708         infoc_1.infot = 10;
00709         *(unsigned char *)eq = '/';
00710         zpbsvx_("F", "U", &c__0, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00711                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00712         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00713                 infoc_1.ok);
00714         infoc_1.infot = 11;
00715         *(unsigned char *)eq = 'Y';
00716         zpbsvx_("F", "U", &c__1, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00717                 b, &c__1, x, &c__1, &rcond, r1, r2, w, rw, &info);
00718         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00719                 infoc_1.ok);
00720         infoc_1.infot = 13;
00721         zpbsvx_("N", "U", &c__2, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00722                 b, &c__1, x, &c__2, &rcond, r1, r2, w, rw, &info);
00723         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00724                 infoc_1.ok);
00725         infoc_1.infot = 15;
00726         zpbsvx_("N", "U", &c__2, &c__0, &c__0, a, &c__1, af, &c__1, eq, c__, 
00727                 b, &c__2, x, &c__1, &rcond, r1, r2, w, rw, &info);
00728         chkxer_("ZPBSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00729                 infoc_1.ok);
00730 
00731     } else if (lsamen_(&c__2, c2, "PT")) {
00732 
00733 /*        ZPTSV */
00734 
00735         s_copy(srnamc_1.srnamt, "ZPTSV ", (ftnlen)32, (ftnlen)6);
00736         infoc_1.infot = 1;
00737         zptsv_(&c_n1, &c__0, r__, a, b, &c__1, &info);
00738         chkxer_("ZPTSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00739                 infoc_1.ok);
00740         infoc_1.infot = 2;
00741         zptsv_(&c__0, &c_n1, r__, a, b, &c__1, &info);
00742         chkxer_("ZPTSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00743                 infoc_1.ok);
00744         infoc_1.infot = 6;
00745         zptsv_(&c__2, &c__0, r__, a, b, &c__1, &info);
00746         chkxer_("ZPTSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00747                 infoc_1.ok);
00748 
00749 /*        ZPTSVX */
00750 
00751         s_copy(srnamc_1.srnamt, "ZPTSVX", (ftnlen)32, (ftnlen)6);
00752         infoc_1.infot = 1;
00753         zptsvx_("/", &c__0, &c__0, r__, a, rf, af, b, &c__1, x, &c__1, &rcond, 
00754                  r1, r2, w, rw, &info);
00755         chkxer_("ZPTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00756                 infoc_1.ok);
00757         infoc_1.infot = 2;
00758         zptsvx_("N", &c_n1, &c__0, r__, a, rf, af, b, &c__1, x, &c__1, &rcond, 
00759                  r1, r2, w, rw, &info);
00760         chkxer_("ZPTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00761                 infoc_1.ok);
00762         infoc_1.infot = 3;
00763         zptsvx_("N", &c__0, &c_n1, r__, a, rf, af, b, &c__1, x, &c__1, &rcond, 
00764                  r1, r2, w, rw, &info);
00765         chkxer_("ZPTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00766                 infoc_1.ok);
00767         infoc_1.infot = 9;
00768         zptsvx_("N", &c__2, &c__0, r__, a, rf, af, b, &c__1, x, &c__2, &rcond, 
00769                  r1, r2, w, rw, &info);
00770         chkxer_("ZPTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00771                 infoc_1.ok);
00772         infoc_1.infot = 11;
00773         zptsvx_("N", &c__2, &c__0, r__, a, rf, af, b, &c__2, x, &c__1, &rcond, 
00774                  r1, r2, w, rw, &info);
00775         chkxer_("ZPTSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00776                 infoc_1.ok);
00777 
00778     } else if (lsamen_(&c__2, c2, "HE")) {
00779 
00780 /*        ZHESV */
00781 
00782         s_copy(srnamc_1.srnamt, "ZHESV ", (ftnlen)32, (ftnlen)6);
00783         infoc_1.infot = 1;
00784         zhesv_("/", &c__0, &c__0, a, &c__1, ip, b, &c__1, w, &c__1, &info);
00785         chkxer_("ZHESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00786                 infoc_1.ok);
00787         infoc_1.infot = 2;
00788         zhesv_("U", &c_n1, &c__0, a, &c__1, ip, b, &c__1, w, &c__1, &info);
00789         chkxer_("ZHESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00790                 infoc_1.ok);
00791         infoc_1.infot = 3;
00792         zhesv_("U", &c__0, &c_n1, a, &c__1, ip, b, &c__1, w, &c__1, &info);
00793         chkxer_("ZHESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00794                 infoc_1.ok);
00795         infoc_1.infot = 5;
00796         zhesv_("U", &c__2, &c__0, a, &c__1, ip, b, &c__2, w, &c__1, &info);
00797         chkxer_("ZHESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00798                 infoc_1.ok);
00799         infoc_1.infot = 8;
00800         zhesv_("U", &c__2, &c__0, a, &c__2, ip, b, &c__1, w, &c__1, &info);
00801         chkxer_("ZHESV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00802                 infoc_1.ok);
00803 
00804 /*        ZHESVX */
00805 
00806         s_copy(srnamc_1.srnamt, "ZHESVX", (ftnlen)32, (ftnlen)6);
00807         infoc_1.infot = 1;
00808         zhesvx_("/", "U", &c__0, &c__0, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00809                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00810         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00811                 infoc_1.ok);
00812         infoc_1.infot = 2;
00813         zhesvx_("N", "/", &c__0, &c__0, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00814                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00815         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00816                 infoc_1.ok);
00817         infoc_1.infot = 3;
00818         zhesvx_("N", "U", &c_n1, &c__0, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00819                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00820         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00821                 infoc_1.ok);
00822         infoc_1.infot = 4;
00823         zhesvx_("N", "U", &c__0, &c_n1, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00824                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00825         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00826                 infoc_1.ok);
00827         infoc_1.infot = 6;
00828         zhesvx_("N", "U", &c__2, &c__0, a, &c__1, af, &c__2, ip, b, &c__2, x, 
00829                 &c__2, &rcond, r1, r2, w, &c__4, rw, &info);
00830         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00831                 infoc_1.ok);
00832         infoc_1.infot = 8;
00833         zhesvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__1, ip, b, &c__2, x, 
00834                 &c__2, &rcond, r1, r2, w, &c__4, rw, &info);
00835         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00836                 infoc_1.ok);
00837         infoc_1.infot = 11;
00838         zhesvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, ip, b, &c__1, x, 
00839                 &c__2, &rcond, r1, r2, w, &c__4, rw, &info);
00840         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00841                 infoc_1.ok);
00842         infoc_1.infot = 13;
00843         zhesvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, ip, b, &c__2, x, 
00844                 &c__1, &rcond, r1, r2, w, &c__4, rw, &info);
00845         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00846                 infoc_1.ok);
00847         infoc_1.infot = 18;
00848         zhesvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, ip, b, &c__2, x, 
00849                 &c__2, &rcond, r1, r2, w, &c__3, rw, &info);
00850         chkxer_("ZHESVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00851                 infoc_1.ok);
00852 
00853     } else if (lsamen_(&c__2, c2, "HP")) {
00854 
00855 /*        ZHPSV */
00856 
00857         s_copy(srnamc_1.srnamt, "ZHPSV ", (ftnlen)32, (ftnlen)6);
00858         infoc_1.infot = 1;
00859         zhpsv_("/", &c__0, &c__0, a, ip, b, &c__1, &info);
00860         chkxer_("ZHPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00861                 infoc_1.ok);
00862         infoc_1.infot = 2;
00863         zhpsv_("U", &c_n1, &c__0, a, ip, b, &c__1, &info);
00864         chkxer_("ZHPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00865                 infoc_1.ok);
00866         infoc_1.infot = 3;
00867         zhpsv_("U", &c__0, &c_n1, a, ip, b, &c__1, &info);
00868         chkxer_("ZHPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00869                 infoc_1.ok);
00870         infoc_1.infot = 7;
00871         zhpsv_("U", &c__2, &c__0, a, ip, b, &c__1, &info);
00872         chkxer_("ZHPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00873                 infoc_1.ok);
00874 
00875 /*        ZHPSVX */
00876 
00877         s_copy(srnamc_1.srnamt, "ZHPSVX", (ftnlen)32, (ftnlen)6);
00878         infoc_1.infot = 1;
00879         zhpsvx_("/", "U", &c__0, &c__0, a, af, ip, b, &c__1, x, &c__1, &rcond, 
00880                  r1, r2, w, rw, &info);
00881         chkxer_("ZHPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00882                 infoc_1.ok);
00883         infoc_1.infot = 2;
00884         zhpsvx_("N", "/", &c__0, &c__0, a, af, ip, b, &c__1, x, &c__1, &rcond, 
00885                  r1, r2, w, rw, &info);
00886         chkxer_("ZHPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00887                 infoc_1.ok);
00888         infoc_1.infot = 3;
00889         zhpsvx_("N", "U", &c_n1, &c__0, a, af, ip, b, &c__1, x, &c__1, &rcond, 
00890                  r1, r2, w, rw, &info);
00891         chkxer_("ZHPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00892                 infoc_1.ok);
00893         infoc_1.infot = 4;
00894         zhpsvx_("N", "U", &c__0, &c_n1, a, af, ip, b, &c__1, x, &c__1, &rcond, 
00895                  r1, r2, w, rw, &info);
00896         chkxer_("ZHPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00897                 infoc_1.ok);
00898         infoc_1.infot = 9;
00899         zhpsvx_("N", "U", &c__2, &c__0, a, af, ip, b, &c__1, x, &c__2, &rcond, 
00900                  r1, r2, w, rw, &info);
00901         chkxer_("ZHPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00902                 infoc_1.ok);
00903         infoc_1.infot = 11;
00904         zhpsvx_("N", "U", &c__2, &c__0, a, af, ip, b, &c__2, x, &c__1, &rcond, 
00905                  r1, r2, w, rw, &info);
00906         chkxer_("ZHPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00907                 infoc_1.ok);
00908 
00909     } else if (lsamen_(&c__2, c2, "SY")) {
00910 
00911 /*        ZSYSV */
00912 
00913         s_copy(srnamc_1.srnamt, "ZSYSV ", (ftnlen)32, (ftnlen)6);
00914         infoc_1.infot = 1;
00915         zsysv_("/", &c__0, &c__0, a, &c__1, ip, b, &c__1, w, &c__1, &info);
00916         chkxer_("ZSYSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00917                 infoc_1.ok);
00918         infoc_1.infot = 2;
00919         zsysv_("U", &c_n1, &c__0, a, &c__1, ip, b, &c__1, w, &c__1, &info);
00920         chkxer_("ZSYSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00921                 infoc_1.ok);
00922         infoc_1.infot = 3;
00923         zsysv_("U", &c__0, &c_n1, a, &c__1, ip, b, &c__1, w, &c__1, &info);
00924         chkxer_("ZSYSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00925                 infoc_1.ok);
00926         infoc_1.infot = 8;
00927         zsysv_("U", &c__2, &c__0, a, &c__2, ip, b, &c__1, w, &c__1, &info);
00928         chkxer_("ZSYSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00929                 infoc_1.ok);
00930 
00931 /*        ZSYSVX */
00932 
00933         s_copy(srnamc_1.srnamt, "ZSYSVX", (ftnlen)32, (ftnlen)6);
00934         infoc_1.infot = 1;
00935         zsysvx_("/", "U", &c__0, &c__0, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00936                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00937         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00938                 infoc_1.ok);
00939         infoc_1.infot = 2;
00940         zsysvx_("N", "/", &c__0, &c__0, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00941                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00942         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00943                 infoc_1.ok);
00944         infoc_1.infot = 3;
00945         zsysvx_("N", "U", &c_n1, &c__0, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00946                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00947         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00948                 infoc_1.ok);
00949         infoc_1.infot = 4;
00950         zsysvx_("N", "U", &c__0, &c_n1, a, &c__1, af, &c__1, ip, b, &c__1, x, 
00951                 &c__1, &rcond, r1, r2, w, &c__1, rw, &info);
00952         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00953                 infoc_1.ok);
00954         infoc_1.infot = 6;
00955         zsysvx_("N", "U", &c__2, &c__0, a, &c__1, af, &c__2, ip, b, &c__2, x, 
00956                 &c__2, &rcond, r1, r2, w, &c__4, rw, &info);
00957         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00958                 infoc_1.ok);
00959         infoc_1.infot = 8;
00960         zsysvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__1, ip, b, &c__2, x, 
00961                 &c__2, &rcond, r1, r2, w, &c__4, rw, &info);
00962         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00963                 infoc_1.ok);
00964         infoc_1.infot = 11;
00965         zsysvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, ip, b, &c__1, x, 
00966                 &c__2, &rcond, r1, r2, w, &c__4, rw, &info);
00967         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00968                 infoc_1.ok);
00969         infoc_1.infot = 13;
00970         zsysvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, ip, b, &c__2, x, 
00971                 &c__1, &rcond, r1, r2, w, &c__4, rw, &info);
00972         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00973                 infoc_1.ok);
00974         infoc_1.infot = 18;
00975         zsysvx_("N", "U", &c__2, &c__0, a, &c__2, af, &c__2, ip, b, &c__2, x, 
00976                 &c__2, &rcond, r1, r2, w, &c__3, rw, &info);
00977         chkxer_("ZSYSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00978                 infoc_1.ok);
00979 
00980     } else if (lsamen_(&c__2, c2, "SP")) {
00981 
00982 /*        ZSPSV */
00983 
00984         s_copy(srnamc_1.srnamt, "ZSPSV ", (ftnlen)32, (ftnlen)6);
00985         infoc_1.infot = 1;
00986         zspsv_("/", &c__0, &c__0, a, ip, b, &c__1, &info);
00987         chkxer_("ZSPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00988                 infoc_1.ok);
00989         infoc_1.infot = 2;
00990         zspsv_("U", &c_n1, &c__0, a, ip, b, &c__1, &info);
00991         chkxer_("ZSPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00992                 infoc_1.ok);
00993         infoc_1.infot = 3;
00994         zspsv_("U", &c__0, &c_n1, a, ip, b, &c__1, &info);
00995         chkxer_("ZSPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00996                 infoc_1.ok);
00997         infoc_1.infot = 7;
00998         zspsv_("U", &c__2, &c__0, a, ip, b, &c__1, &info);
00999         chkxer_("ZSPSV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01000                 infoc_1.ok);
01001 
01002 /*        ZSPSVX */
01003 
01004         s_copy(srnamc_1.srnamt, "ZSPSVX", (ftnlen)32, (ftnlen)6);
01005         infoc_1.infot = 1;
01006         zspsvx_("/", "U", &c__0, &c__0, a, af, ip, b, &c__1, x, &c__1, &rcond, 
01007                  r1, r2, w, rw, &info);
01008         chkxer_("ZSPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01009                 infoc_1.ok);
01010         infoc_1.infot = 2;
01011         zspsvx_("N", "/", &c__0, &c__0, a, af, ip, b, &c__1, x, &c__1, &rcond, 
01012                  r1, r2, w, rw, &info);
01013         chkxer_("ZSPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01014                 infoc_1.ok);
01015         infoc_1.infot = 3;
01016         zspsvx_("N", "U", &c_n1, &c__0, a, af, ip, b, &c__1, x, &c__1, &rcond, 
01017                  r1, r2, w, rw, &info);
01018         chkxer_("ZSPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01019                 infoc_1.ok);
01020         infoc_1.infot = 4;
01021         zspsvx_("N", "U", &c__0, &c_n1, a, af, ip, b, &c__1, x, &c__1, &rcond, 
01022                  r1, r2, w, rw, &info);
01023         chkxer_("ZSPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01024                 infoc_1.ok);
01025         infoc_1.infot = 9;
01026         zspsvx_("N", "U", &c__2, &c__0, a, af, ip, b, &c__1, x, &c__2, &rcond, 
01027                  r1, r2, w, rw, &info);
01028         chkxer_("ZSPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01029                 infoc_1.ok);
01030         infoc_1.infot = 11;
01031         zspsvx_("N", "U", &c__2, &c__0, a, af, ip, b, &c__2, x, &c__1, &rcond, 
01032                  r1, r2, w, rw, &info);
01033         chkxer_("ZSPSVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01034                 infoc_1.ok);
01035     }
01036 
01037 /*     Print a summary line. */
01038 
01039     if (infoc_1.ok) {
01040         io___20.ciunit = infoc_1.nout;
01041         s_wsfe(&io___20);
01042         do_fio(&c__1, path, (ftnlen)3);
01043         e_wsfe();
01044     } else {
01045         io___21.ciunit = infoc_1.nout;
01046         s_wsfe(&io___21);
01047         do_fio(&c__1, path, (ftnlen)3);
01048         e_wsfe();
01049     }
01050 
01051 
01052     return 0;
01053 
01054 /*     End of ZERRVX */
01055 
01056 } /* zerrvx_ */


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:30