summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/atan/catana.c
diff options
context:
space:
mode:
authorjofret2007-09-11 16:02:09 +0000
committerjofret2007-09-11 16:02:09 +0000
commita6e5fe5da63ed2dd8db74504075abacd2d557754 (patch)
tree6b42401bfecf6fb89a170862b184de119eebc1ee /src/elementaryFunctions/atan/catana.c
parent110650613fca7f68c4e683c7fb1b4cc0eb9279ee (diff)
downloadscilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.tar.gz
scilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.tar.bz2
scilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.zip
End of prototyping all elementary functions.
Just need some code (wait for an internship).
Diffstat (limited to 'src/elementaryFunctions/atan/catana.c')
-rw-r--r--src/elementaryFunctions/atan/catana.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/atan/catana.c b/src/elementaryFunctions/atan/catana.c
new file mode 100644
index 00000000..d1652c22
--- /dev/null
+++ b/src/elementaryFunctions/atan/catana.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** catana.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Dec 7 14:54:24 2006 jofret
+** Last update Thu Sep 6 11:56:04 2007 bruno
+**
+** Copyright INRIA 2006
+*/
+
+#include "atan.h"
+
+void catana(floatComplex* x, floatComplex* y, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = catans(x[i]);
+ }
+}