cblas_dsdot.c
Go to the documentation of this file.
00001 /*
00002  * cblas_dsdot.c
00003  *
00004  * The program is a C interface to dsdot.
00005  * It calls fthe fortran wrapper before calling dsdot.
00006  *
00007  * Written by Keita Teranishi.  2/11/1998
00008  *
00009  */
00010 #include "cblas.h"
00011 #include "cblas_f77.h"
00012 double  cblas_dsdot( const int N, const float *X,
00013                       const int incX, const float *Y, const int incY)
00014 {
00015    double 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_dsdot_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