summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/isempty/zisEmptya.c
blob: 02e0ce533050db8f73bfdf5cb40294103566ae97 (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 -*-
**
** 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;
}