9 #include "cblas_test.h" 11 void F77_zaxpy(
const CBLAS_INT *N,
const void *alpha,
void *X,
12 const CBLAS_INT *incX,
void *Y,
const CBLAS_INT *incY)
14 cblas_zaxpy(*N, alpha, X, *incX, Y, *incY);
18 void F77_zcopy(
const CBLAS_INT *N,
void *X,
const CBLAS_INT *incX,
19 void *Y,
const CBLAS_INT *incY)
21 cblas_zcopy(*N, X, *incX, Y, *incY);
25 void F77_zdotc(
const CBLAS_INT *N,
const void *X,
const CBLAS_INT *incX,
26 const void *Y,
const CBLAS_INT *incY,
void *dotc)
28 cblas_zdotc_sub(*N, X, *incX, Y, *incY, dotc);
32 void F77_zdotu(
const CBLAS_INT *N,
void *X,
const CBLAS_INT *incX,
33 void *Y,
const CBLAS_INT *incY,
void *dotu)
35 cblas_zdotu_sub(*N, X, *incX, Y, *incY, dotu);
39 void F77_zdscal(
const CBLAS_INT *N,
const double *alpha,
void *X,
40 const CBLAS_INT *incX)
42 cblas_zdscal(*N, *alpha, X, *incX);
46 void F77_zscal(
const CBLAS_INT *N,
const void * *alpha,
void *X,
47 const CBLAS_INT *incX)
49 cblas_zscal(*N, alpha, X, *incX);
53 void F77_zswap(
const CBLAS_INT *N,
void *X,
const CBLAS_INT *incX,
54 void *Y,
const CBLAS_INT *incY)
56 cblas_zswap(*N,X,*incX,Y,*incY);
60 CBLAS_INT F77_izamax(
const CBLAS_INT *N,
const void *X,
const CBLAS_INT *incX)
62 if (*N < 1 || *incX < 1)
return(0);
63 return(cblas_izamax(*N, X, *incX)+1);
66 double F77_dznrm2(
const CBLAS_INT *N,
const void *X,
const CBLAS_INT *incX)
68 return cblas_dznrm2(*N, X, *incX);
71 double F77_dzasum(
const CBLAS_INT *N,
void *X,
const CBLAS_INT *incX)
73 return cblas_dzasum(*N, X, *incX);