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