4 * The program is a C wrapper for ccblat1.
6 * Written by Keita Teranishi. 2/11/1998
10 #include "cblas_test.h"
12 void F77_caxpy(const int *N, const void *alpha, void *X,
13 const int *incX, void *Y, const int *incY)
15 cblas_caxpy(*N, alpha, X, *incX, Y, *incY);
19 void F77_ccopy(const int *N, void *X, const int *incX,
20 void *Y, const int *incY)
22 cblas_ccopy(*N, X, *incX, Y, *incY);
26 void F77_cdotc(const int *N, void *X, const int *incX,
27 void *Y, const int *incY, void *dotc)
29 cblas_cdotc_sub(*N, X, *incX, Y, *incY, dotc);
33 void F77_cdotu(const int *N, void *X, const int *incX,
34 void *Y, const int *incY,void *dotu)
36 cblas_cdotu_sub(*N, X, *incX, Y, *incY, dotu);
40 void F77_cscal(const int *N, const void * *alpha, void *X,
43 cblas_cscal(*N, alpha, X, *incX);
47 void F77_csscal(const int *N, const float *alpha, void *X,
50 cblas_csscal(*N, *alpha, X, *incX);
54 void F77_cswap( const int *N, void *X, const int *incX,
55 void *Y, const int *incY)
57 cblas_cswap(*N,X,*incX,Y,*incY);
61 int F77_icamax(const int *N, const void *X, const int *incX)
63 if (*N < 1 || *incX < 1) return(0);
64 return (cblas_icamax(*N, X, *incX)+1);
67 float F77_scnrm2(const int *N, const void *X, const int *incX)
69 return cblas_scnrm2(*N, X, *incX);
72 float F77_scasum(const int *N, void *X, const int *incX)
74 return cblas_scasum(*N, X, *incX);