summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/log/cloga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/log/cloga.c')
-rw-r--r--src/elementaryFunctions/log/cloga.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/elementaryFunctions/log/cloga.c b/src/elementaryFunctions/log/cloga.c
index e69de29b..e2dc87b2 100644
--- a/src/elementaryFunctions/log/cloga.c
+++ b/src/elementaryFunctions/log/cloga.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** cloga.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Sep 7 10:32:52 2007 bruno
+** Last update Fri Sep 7 10:37:56 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "log.h"
+
+void cloga(floatComplex* in, floatComplex* out, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ out[i] = clogs(in[i]);
+ }
+}