00001 /* 00002 * cblas_zswap.c 00003 * 00004 * The program is a C interface to zswap. 00005 * 00006 * Written by Keita Teranishi. 2/11/1998 00007 * 00008 */ 00009 #include "cblas.h" 00010 #include "cblas_f77.h" 00011 void cblas_zswap( const int N, void *X, const int incX, void *Y, 00012 const int incY) 00013 { 00014 #ifdef F77_INT 00015 F77_INT F77_N=N, F77_incX=incX, F77_incY=incY; 00016 #else 00017 #define F77_N N 00018 #define F77_incX incX 00019 #define F77_incY incY 00020 #endif 00021 F77_zswap( &F77_N, X, &F77_incX, Y, &F77_incY); 00022 }