14 const void *alpha,
const void *A,
const int lda,
15 const void *X,
const int incX,
const void *beta,
16 void *Y,
const int incY)
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_zgemv(const CBLAS_LAYOUT layout, const CBLAS_TRANSPOSE TransA, const int M, const int N, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *Y, const int incY)
void cblas_xerbla(int p, const char *rout, const char *form,...)