diff options
author | julie <julielangou@users.noreply.github.com> | 2014-10-08 18:40:57 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2014-10-08 18:40:57 +0000 |
commit | 8d160e5f960b389ba6a4c0d5ffe767c7b762a9d3 (patch) | |
tree | b6a093c3922c2c6c28d65393c42a31bc5779bf06 /CBLAS/src/cblas_sdot.c | |
parent | f04a5811b7233661a393718717041a5ba2384864 (diff) | |
download | lapack-8d160e5f960b389ba6a4c0d5ffe767c7b762a9d3.tar.gz lapack-8d160e5f960b389ba6a4c0d5ffe767c7b762a9d3.tar.bz2 lapack-8d160e5f960b389ba6a4c0d5ffe767c7b762a9d3.zip |
Fixing folder uppercase / lower case issue - Thank you Don
Diffstat (limited to 'CBLAS/src/cblas_sdot.c')
-rw-r--r-- | CBLAS/src/cblas_sdot.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/CBLAS/src/cblas_sdot.c b/CBLAS/src/cblas_sdot.c new file mode 100644 index 00000000..baf85927 --- /dev/null +++ b/CBLAS/src/cblas_sdot.c @@ -0,0 +1,25 @@ +/* + * cblas_sdot.c + * + * The program is a C interface to sdot. + * It calls the fortran wrapper before calling sdot. + * + * Written by Keita Teranishi. 2/11/1998 + * + */ +#include "cblas.h" +#include "cblas_f77.h" +float cblas_sdot( const int N, const float *X, + const int incX, const float *Y, const int incY) +{ + float dot; +#ifdef F77_INT + F77_INT F77_N=N, F77_incX=incX, F77_incY=incY; +#else + #define F77_N N + #define F77_incX incX + #define F77_incY incY +#endif + F77_sdot_sub( &F77_N, X, &F77_incX, Y, &F77_incY, &dot); + return dot; +} |