summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/cos/scosa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/cos/scosa.c')
-rw-r--r--src/elementaryFunctions/cos/scosa.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/cos/scosa.c b/src/elementaryFunctions/cos/scosa.c
new file mode 100644
index 00000000..ef9ae739
--- /dev/null
+++ b/src/elementaryFunctions/cos/scosa.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** scosa.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Dec 7 16:03:27 2006 jofret
+** Last update Thu Dec 7 17:32:22 2006 jofret
+**
+** Copyright INRIA 2006
+*/
+
+float scoss(float);
+
+void scosa(float* x, int strideX, float* y, int strideY, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = scoss(x[i]);
+ }
+}