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