summaryrefslogtreecommitdiff
path: root/gsl-1.9/cblas/saxpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'gsl-1.9/cblas/saxpy.c')
-rw-r--r--gsl-1.9/cblas/saxpy.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gsl-1.9/cblas/saxpy.c b/gsl-1.9/cblas/saxpy.c
new file mode 100644
index 0000000..af08d4d
--- /dev/null
+++ b/gsl-1.9/cblas/saxpy.c
@@ -0,0 +1,12 @@
+#include <gsl/gsl_math.h>
+#include <gsl/gsl_cblas.h>
+#include "cblas.h"
+
+void
+cblas_saxpy (const int N, const float alpha, const float *X, const int incX,
+ float *Y, const int incY)
+{
+#define BASE float
+#include "source_axpy_r.h"
+#undef BASE
+}