File: fblaswrap_veclib_c.c.src

package info (click to toggle)
python-scipy 0.10.1%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 42,232 kB
  • sloc: cpp: 224,773; ansic: 103,496; python: 85,210; fortran: 79,130; makefile: 272; sh: 43
file content (19 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <complex.h>
#include <vecLib/vecLib.h>

//#define WRAP_F77(a) wcblas_##a##_
#define WRAP_F77(a) w##a##_

/**begin repeat
#p2=c,z,c,z#
#s2=u,u,c,c#
#ctype2=complex,double complex,complex,double complex#
*/

void WRAP_F77(@p2@dot@s2@)(@ctype2@ *dot@s2@, const int *N, const @ctype2@ *X, const int *incX, const @ctype2@ *Y, const int *incY)
{
    cblas_@p2@dot@s2@_sub(*N, X, *incX, Y, *incY, dot@s2@);
}

/**end repeat**/