Blame cblas/test_trsv.c

Packit 67cb25
#include <gsl/gsl_test.h>
Packit 67cb25
#include <gsl/gsl_ieee_utils.h>
Packit 67cb25
#include <gsl/gsl_math.h>
Packit 67cb25
#include <gsl/gsl_cblas.h>
Packit 67cb25
Packit 67cb25
#include "tests.h"
Packit 67cb25
Packit 67cb25
void
Packit 67cb25
test_trsv (void) {
Packit 67cb25
const double flteps = 1e-4, dbleps = 1e-6;
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.349749f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1150)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.348f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1151)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.349749f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1152)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.348f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1153)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.349749f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1154)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.348f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1155)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.349749f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1156)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.995f };
Packit 67cb25
   float X[] = { 0.348f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.348f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1157)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.42623f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1158)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.338f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1159)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.42623f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1160)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.338f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1161)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.42623f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1162)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.338f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1163)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.42623f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1164)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.793f };
Packit 67cb25
   float X[] = { 0.338f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.338f };
Packit 67cb25
   cblas_strsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], flteps, "strsv(case 1165)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -2.25238095238 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1166)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.473 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1167)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -2.25238095238 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1168)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.473 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1169)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -2.25238095238 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1170)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.473 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1171)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -2.25238095238 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1172)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { -0.21 };
Packit 67cb25
   double X[] = { 0.473 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.473 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1173)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 1.30882352941 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1174)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.979 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1175)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 1.30882352941 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1176)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.979 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1177)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 1.30882352941 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1178)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.979 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1179)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 1.30882352941 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1180)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.748 };
Packit 67cb25
   double X[] = { 0.979 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.979 };
Packit 67cb25
   cblas_dtrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[i], x_expected[i], dbleps, "dtrsv(case 1181)");
Packit 67cb25
     }
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -1.55112f, -0.372004f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1182) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1182) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -0.95f, 0.343f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1183) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1183) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -1.55112f, -0.372004f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1184) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1184) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -0.95f, 0.343f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1185) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1185) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -1.55112f, -0.372004f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1186) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1186) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -0.95f, 0.343f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1187) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1187) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -1.55112f, -0.372004f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1188) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1188) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.529f, -0.348f };
Packit 67cb25
   float X[] = { -0.95f, 0.343f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { -0.95f, 0.343f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1189) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1189) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 1.43572f, -0.843108f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1190) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1190) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.896f, -0.447f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1191) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1191) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 1.43572f, -0.843108f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1192) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1192) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.896f, -0.447f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1193) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1193) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 1.43572f, -0.843108f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1194) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1194) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.896f, -0.447f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1195) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1195) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 1.43572f, -0.843108f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1196) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1196) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.6f, 0.041f };
Packit 67cb25
   float X[] = { 0.896f, -0.447f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.896f, -0.447f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1197) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1197) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.289642f, 0.951701f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1198) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1198) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.765f, 0.18f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1199) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1199) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.289642f, 0.951701f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1200) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1200) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.765f, 0.18f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1201) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1201) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.289642f, 0.951701f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1202) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1202) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.765f, 0.18f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1203) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1203) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.289642f, 0.951701f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1204) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1204) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   float A[] = { 0.397f, 0.683f };
Packit 67cb25
   float X[] = { 0.765f, 0.18f };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   float x_expected[] = { 0.765f, 0.18f };
Packit 67cb25
   cblas_ctrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], flteps, "ctrsv(case 1205) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], flteps, "ctrsv(case 1205) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.471957414573, -0.173714770642 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1206) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1206) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.627, 0.281 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1207) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1207) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.471957414573, -0.173714770642 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1208) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1208) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.627, 0.281 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1209) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1209) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.471957414573, -0.173714770642 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1210) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1210) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.627, 0.281 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1211) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1211) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.471957414573, -0.173714770642 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1212) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1212) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 111;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.977, -0.955 };
Packit 67cb25
   double X[] = { -0.627, 0.281 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.627, 0.281 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1213) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1213) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 5.18357980622, -0.587200407955 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1214) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1214) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.3, -0.874 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1215) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1215) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 5.18357980622, -0.587200407955 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1216) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1216) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.3, -0.874 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1217) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1217) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 5.18357980622, -0.587200407955 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1218) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1218) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.3, -0.874 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1219) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1219) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 5.18357980622, -0.587200407955 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1220) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1220) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 112;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.076, -0.16 };
Packit 67cb25
   double X[] = { 0.3, -0.874 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { 0.3, -0.874 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1221) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1221) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.371144591432, -0.0712292456544 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1222) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1222) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.085, -0.303 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1223) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1223) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.371144591432, -0.0712292456544 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1224) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1224) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 101;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.085, -0.303 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1225) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1225) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.371144591432, -0.0712292456544 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1226) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1226) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 121;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.085, -0.303 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1227) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1227) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 131;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.371144591432, -0.0712292456544 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1228) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1228) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
  {
Packit 67cb25
   int order = 102;
Packit 67cb25
   int trans = 113;
Packit 67cb25
   int uplo = 122;
Packit 67cb25
   int diag = 132;
Packit 67cb25
   int N = 1;
Packit 67cb25
   int lda = 1;
Packit 67cb25
   double A[] = { 0.372, -0.745 };
Packit 67cb25
   double X[] = { -0.085, -0.303 };
Packit 67cb25
   int incX = -1;
Packit 67cb25
   double x_expected[] = { -0.085, -0.303 };
Packit 67cb25
   cblas_ztrsv(order, uplo, trans, diag, N, A, lda, X, incX);
Packit 67cb25
   {
Packit 67cb25
     int i;
Packit 67cb25
     for (i = 0; i < 1; i++) {
Packit 67cb25
       gsl_test_rel(X[2*i], x_expected[2*i], dbleps, "ztrsv(case 1229) real");
Packit 67cb25
       gsl_test_rel(X[2*i+1], x_expected[2*i+1], dbleps, "ztrsv(case 1229) imag");
Packit 67cb25
     };
Packit 67cb25
   };
Packit 67cb25
  };
Packit 67cb25
Packit 67cb25
Packit 67cb25
}