summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/isempty/cisEmptya.c
blob: bbaa71ea927a1e87592e5d0ff0b8fff37265adbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}