annotate ext/cblas/src/cblas_ddot.c @ 211:a41bea655151 msvc

Rename FFT back again, now we have our own project
author Chris Cannam
date Mon, 05 Feb 2018 17:40:13 +0000
parents 45330e0d2819
children
rev   line source
Chris@202 1 #include "cblas.h"
Chris@202 2 #include "cblas_f77.h"
Chris@202 3
Chris@202 4 extern double ddot_(const int *n, const double *dx, const int *incx, const double *dy, const int *incy);
Chris@202 5
Chris@202 6 double cblas_ddot( const int N, const double *X,
Chris@202 7 const int incX, const double *Y, const int incY)
Chris@202 8 {
Chris@202 9 #ifdef F77_INT
Chris@202 10 F77_INT F77_N=N, F77_incX=incX, F77_incY=incY;
Chris@202 11 #else
Chris@202 12 #define F77_N N
Chris@202 13 #define F77_incX incX
Chris@202 14 #define F77_incY incY
Chris@202 15 #endif
Chris@202 16 return ddot_( &F77_N, X, &F77_incX, Y, &F77_incY);
Chris@202 17 }