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