summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/isempty/cisEmptya.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auxiliaryFunctions/isempty/cisEmptya.c')
-rw-r--r--src/auxiliaryFunctions/isempty/cisEmptya.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/isempty/cisEmptya.c b/src/auxiliaryFunctions/isempty/cisEmptya.c
new file mode 100644
index 00000000..bbaa71ea
--- /dev/null
+++ b/src/auxiliaryFunctions/isempty/cisEmptya.c
@@ -0,0 +1,24 @@
+/*
+** -*- C -*-
+**
+** cisEmptya.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Wed Feb 14 15:33:30 2007 jofret
+** Last update Wed Feb 14 15:35:29 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#include <stdbool.h>
+#include "notFound.h"
+#include "floatComplex.h"
+
+int cfinda(floatComplex*, int);
+
+bool cisEmptya(floatComplex* x, int size) {
+ if (cfinda(x, size) == NOT_FOUND) {
+ return true;
+ }
+ return false;
+}