diff options
Diffstat (limited to 'src/auxiliaryFunctions/isempty/cisemptya.c')
-rw-r--r-- | src/auxiliaryFunctions/isempty/cisemptya.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/isempty/cisemptya.c b/src/auxiliaryFunctions/isempty/cisemptya.c new file mode 100644 index 00000000..3d40e10f --- /dev/null +++ b/src/auxiliaryFunctions/isempty/cisemptya.c @@ -0,0 +1,21 @@ +/* +** -*- C -*- +** +** cisEmptya.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Wed Feb 14 15:33:30 2007 jofret +** Last update Fri Feb 23 18:01:22 2007 jofret +** +** Copyright INRIA 2007 +*/ + +#include "isEmpty.h" +#include "find.h" + +bool cisEmptya(floatComplex* x, int size) { + if (cfinda(x, size) == NOT_FOUND) { + return true; + } + return false; +} |