00001 /* 00002 * cblas_dswap.c 00003 * 00004 * The program is a C interface to dswap. 00005 * 00006 * Written by Keita Teranishi. 2/11/1998 00007 * 00008 */ 00009 #include "cblas.h" 00010 #include "cblas_f77.h" 00011 void cblas_dswap( const int N, double *X, const int incX, double *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_dswap( &F77_N, X, &F77_incX, Y, &F77_incY); 00022 }