diff options
author | julie <julielangou@users.noreply.github.com> | 2014-08-15 20:14:26 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2014-08-15 20:14:26 +0000 |
commit | 91d9461d1a2cc1320177967ad2be279856cb8dbd (patch) | |
tree | 820d1175cc4574e29bcb72aa48754c489e5e29ad /cblas/src/cblas_zaxpy.c | |
parent | a00738d270f323fa43dd61a3c7e9ca5dd977d76c (diff) | |
download | lapack-91d9461d1a2cc1320177967ad2be279856cb8dbd.tar.gz lapack-91d9461d1a2cc1320177967ad2be279856cb8dbd.tar.bz2 lapack-91d9461d1a2cc1320177967ad2be279856cb8dbd.zip |
Diffstat (limited to 'cblas/src/cblas_zaxpy.c')
-rw-r--r-- | cblas/src/cblas_zaxpy.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cblas/src/cblas_zaxpy.c b/cblas/src/cblas_zaxpy.c new file mode 100644 index 00000000..f63c4c39 --- /dev/null +++ b/cblas/src/cblas_zaxpy.c @@ -0,0 +1,22 @@ +/* + * cblas_zaxpy.c + * + * The program is a C interface to zaxpy. + * + * Written by Keita Teranishi. 2/11/1998 + * + */ +#include "cblas.h" +#include "cblas_f77.h" +void cblas_zaxpy( const int N, const void *alpha, const void *X, + const int incX, void *Y, const int incY) +{ +#ifdef F77_INT + F77_INT F77_N=N, F77_incX=incX, F77_incY=incY; +#else + #define F77_N N + #define F77_incX incX + #define F77_incY incY +#endif + F77_zaxpy( &F77_N, alpha, X, &F77_incX, Y, &F77_incY); +} |