summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/isempty/isEmpty.h
diff options
context:
space:
mode:
authorjofret2007-02-14 16:40:33 +0000
committerjofret2007-02-14 16:40:33 +0000
commit5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1 (patch)
tree6338cd0169fcc49c09e928807c3a8800ba8fb88a /src/auxiliaryFunctions/isempty/isEmpty.h
parent85c7a2e39d24c29a079a47e5c75e88c468756e5d (diff)
downloadscilab2c-5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1.tar.gz
scilab2c-5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1.tar.bz2
scilab2c-5fcd2352aa1dd7a7b22fd37e9e529a8414bf30e1.zip
* src/test/test*.c :
Add some FIXME in order to remember to code some tests. * src/test/testFind.c : Testing of the find function. * src/test/testIsEmpty.c : Testing of the isEmpty function. * src/misc : Create for misc includes. * src/auxiliaryFunctions/find/notFound.h : Moved * src/misc/notFound.h : Better use here. * */*/Makefile : Modify all Makefiles. Remove -pedantic. Must be crazy to use this... * src/auxiliaryFunctions/isempty : IsEmpty functions implementation. * src/auxiliaryFunctions/isempty/{sdcz}isEmptya.c : Implementation : s(float) d(double) c(floatComplex) z(doubleComplex)
Diffstat (limited to 'src/auxiliaryFunctions/isempty/isEmpty.h')
-rw-r--r--src/auxiliaryFunctions/isempty/isEmpty.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/isempty/isEmpty.h b/src/auxiliaryFunctions/isempty/isEmpty.h
new file mode 100644
index 00000000..40a9ad3e
--- /dev/null
+++ b/src/auxiliaryFunctions/isempty/isEmpty.h
@@ -0,0 +1,37 @@
+/*
+** -*- C -*-
+**
+** find.h
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Feb 8 10:12:17 2007 jofret
+** Last update Wed Feb 14 14:43:53 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#ifndef __IS_EMPTY_H__
+#define __IS_EMPTY_H__
+
+#include <bool.h>
+
+/*
+** \brief Float Is Empty function
+*/
+bool sisEmptya(float* x, int size);
+
+/*
+** \brief Double Is Empty function
+*/
+bool disEmptya(double*x, int size);
+
+/*
+** \brief Float Complex Is Empty function
+*/
+bool cisEmptya(floatComplex* z, int size);
+
+/*
+** \brief Double Complex Is Empty function
+*/
+bool zisEmptya(doubleComplex* z, int size);
+#endif /* !__IS_EMPTY_H__ */