summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/asin/zasina.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/asin/zasina.c')
-rw-r--r--src/elementaryFunctions/asin/zasina.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/elementaryFunctions/asin/zasina.c b/src/elementaryFunctions/asin/zasina.c
new file mode 100644
index 00000000..c9e13f2d
--- /dev/null
+++ b/src/elementaryFunctions/asin/zasina.c
@@ -0,0 +1,27 @@
+/*
+** -*- C -*-
+**
+** zasina.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:25:14 2007 jofret
+** Last update Fri Jan 5 16:23:01 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#ifndef STDC99
+#include "doubleComplex.h"
+#else
+#include <complex.h>
+typedef double complex doubleComplex;
+#endif
+
+doubleComplex zasins(doubleComplex);
+
+void zasina(doubleComplex* x, int strideX, doubleComplex* y, int strideY, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = zasins(x[i]);
+ }
+}