summaryrefslogtreecommitdiffhomepage
path: root/eigen/blas/single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/blas/single.cpp')
-rw-r--r--eigen/blas/single.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/eigen/blas/single.cpp b/eigen/blas/single.cpp
new file mode 100644
index 0000000..836e3ee
--- /dev/null
+++ b/eigen/blas/single.cpp
@@ -0,0 +1,22 @@
+// This file is part of Eigen, a lightweight C++ template library
+// for linear algebra.
+//
+// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
+//
+// This Source Code Form is subject to the terms of the Mozilla
+// Public License v. 2.0. If a copy of the MPL was not distributed
+// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#define SCALAR float
+#define SCALAR_SUFFIX s
+#define SCALAR_SUFFIX_UP "S"
+#define ISCOMPLEX 0
+
+#include "level1_impl.h"
+#include "level1_real_impl.h"
+#include "level2_impl.h"
+#include "level2_real_impl.h"
+#include "level3_impl.h"
+
+float BLASFUNC(sdsdot)(int* n, float* alpha, float* x, int* incx, float* y, int* incy)
+{ return *alpha + BLASFUNC(dsdot)(n, x, incx, y, incy); }