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


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