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