diff options
Diffstat (limited to 'src/auxiliaryFunctions/isempty/zisEmptya.c')
-rw-r--r-- | src/auxiliaryFunctions/isempty/zisEmptya.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/isempty/zisEmptya.c b/src/auxiliaryFunctions/isempty/zisEmptya.c new file mode 100644 index 00000000..02e0ce53 --- /dev/null +++ b/src/auxiliaryFunctions/isempty/zisEmptya.c @@ -0,0 +1,24 @@ +/* +** -*- C -*- +** +** zisEmptya.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Wed Feb 14 15:34:28 2007 jofret +** Last update Wed Feb 14 15:40:02 2007 jofret +** +** Copyright INRIA 2007 +*/ + +#include <stdbool.h> +#include "notFound.h" +#include "doubleComplex.h" + +int zfinda(doubleComplex*, int); + +bool zisEmptya(doubleComplex* x, int size) { + if (zfinda(x, size) == NOT_FOUND) { + return true; + } + return false; +} |