34 int n, i=0, incx=incX;
35 const double *xx= (
double *)X, *alp= (
double *)alpha, *bet = (
double *)beta;
36 double ALPHA[2],BETA[2];
38 double *x=(
double *)X, *y=(
double *)Y, *st=0, *tx;
52 cblas_xerbla(2,
"cblas_zgemv",
"Illegal TransA setting, %d\n", TransA);
58 F77_TA = C2F_CHAR(&TA);
60 F77_zgemv(F77_TA, &F77_M, &F77_N, alpha, A, &F77_lda, X, &F77_incX,
79 x = malloc(n*
sizeof(
double));
127 else x = (
double *) X;
131 cblas_xerbla(2,
"cblas_zgemv",
"Illegal TransA setting, %d\n", TransA);
137 F77_TA = C2F_CHAR(&TA);
140 F77_zgemv(F77_TA, &F77_N, &F77_M, ALPHA, A, &F77_lda, x,
141 &F77_incX, BETA, Y, &F77_incY);
143 F77_zgemv(F77_TA, &F77_N, &F77_M, alpha, A, &F77_lda, x,
144 &F77_incX, beta, Y, &F77_incY);
148 if (x != (
double *)X) free(x);
160 else cblas_xerbla(1,
"cblas_zgemv",
"Illegal layout setting, %d\n", layout);
void cblas_xerbla(int p, const char *rout, const char *form,...)