Sha256: 28cc8ec27b28ec48cdf7941646528528e6aec9469e32ac8d16c40cc58e556203

Contents?: true

Size: 575 Bytes

Versions: 9

Compression:

Stored size: 575 Bytes

Contents

/*
 * cblas_ddot.c
 *
 * The program is a C interface to ddot.
 * It calls the fortran wrapper before calling ddot.
 *
 * Written by Keita Teranishi.  2/11/1998
 *
 */
#include "cblas.h"
#include "cblas_f77.h"
double cblas_ddot( const int N, const double *X,
                      const int incX, const double *Y, const int incY)
{
   double 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_ddot_sub( &F77_N, X, &F77_incX, Y, &F77_incY, &dot);
   return dot;
}   

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dlib-1.2.2 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.2.1 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.2.0 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.1.5 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.1.4 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.1.3 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.1.2 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.1.1 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c
dlib-1.1.0 ext/dlib-19.4/dlib/external/cblas/cblas_ddot.c