cblas_saxpy.c
Go to the documentation of this file.
00001 /*
00002  * cblas_saxpy.c
00003  *
00004  * The program is a C interface to saxpy.
00005  * It calls the fortran wrapper before calling saxpy.
00006  *
00007  * Written by Keita Teranishi.  2/11/1998
00008  *
00009  */
00010 #include "cblas.h"
00011 #include "cblas_f77.h"
00012 void cblas_saxpy( const int N, const float alpha, const float *X,
00013                        const int incX, float *Y, const int incY)
00014 {
00015 #ifdef F77_INT
00016    F77_INT F77_N=N, F77_incX=incX, F77_incY=incY;
00017 #else 
00018    #define F77_N N
00019    #define F77_incX incX
00020    #define F77_incY incY
00021 #endif
00022    F77_saxpy( &F77_N, &alpha, X, &F77_incX, Y, &F77_incY);
00023 } 


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:55:15