summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/find
diff options
context:
space:
mode:
Diffstat (limited to 'src/auxiliaryFunctions/find')
-rw-r--r--src/auxiliaryFunctions/find/Makefile43
-rw-r--r--src/auxiliaryFunctions/find/cfinda.c18
-rw-r--r--src/auxiliaryFunctions/find/dfinda.c18
-rw-r--r--src/auxiliaryFunctions/find/find.h35
-rw-r--r--src/auxiliaryFunctions/find/notFound.h18
-rw-r--r--src/auxiliaryFunctions/find/sfinda.c19
-rw-r--r--src/auxiliaryFunctions/find/zfinda.c19
7 files changed, 170 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/find/Makefile b/src/auxiliaryFunctions/find/Makefile
new file mode 100644
index 00000000..88ec08fc
--- /dev/null
+++ b/src/auxiliaryFunctions/find/Makefile
@@ -0,0 +1,43 @@
+##
+## -*- makefile -*-
+##
+## Makefile
+## Made by Bruno JOFRET <bruno.jofret@inria.fr>
+##
+## Started on Thu Nov 30 16:33:40 2006 jofret
+## Last update Tue Feb 13 15:54:45 2007 jofret
+##
+## Copyright INRIA 2006
+##
+
+NAME = ../../lib/libFind.a
+
+RM = rm -f
+CC = gcc
+INCLUDE = ../../type
+LINK = ../../lib
+CFLAGS = -Werror -Wall -pedantic -ansi -I $(INCLUDE) -L $(LINK) $(STANDARD)
+AR = ar cru
+RANLIB = ranlib
+
+SRC = sfinda.c \
+ dfinda.c \
+ cfinda.c \
+ zfinda.c
+
+HEAD = find.h
+OBJ = $(SRC:.c=.o)
+
+all: $(NAME)
+
+$(NAME) : $(HEAD) $(OBJ)
+ $(AR) $@ $(OBJ)
+ $(RANLIB) $@
+
+clean:
+ $(RM) $(OBJ)
+
+distclean: clean
+ $(RM) $(NAME)
+
+re: clean all
diff --git a/src/auxiliaryFunctions/find/cfinda.c b/src/auxiliaryFunctions/find/cfinda.c
new file mode 100644
index 00000000..aa126296
--- /dev/null
+++ b/src/auxiliaryFunctions/find/cfinda.c
@@ -0,0 +1,18 @@
+/*
+** -*- C -*-
+**
+** cfinda.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Tue Feb 13 16:46:42 2007 jofret
+** Last update Tue Feb 13 17:15:14 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#include "floatComplex.h"
+#include "notFound.h"
+
+int cfinda(floatComplex* z, int size) {
+ return NOT_FOUND;
+}
diff --git a/src/auxiliaryFunctions/find/dfinda.c b/src/auxiliaryFunctions/find/dfinda.c
new file mode 100644
index 00000000..8241a792
--- /dev/null
+++ b/src/auxiliaryFunctions/find/dfinda.c
@@ -0,0 +1,18 @@
+/*
+** -*- C -*-
+**
+** dfinda.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Tue Feb 13 16:52:23 2007 jofret
+** Last update Tue Feb 13 17:13:40 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#include "notFound.h"
+
+int dfinda(double* x, int size) {
+ /* FIXME : Dummy !! */
+ return NOT_FOUND;
+}
diff --git a/src/auxiliaryFunctions/find/find.h b/src/auxiliaryFunctions/find/find.h
new file mode 100644
index 00000000..80309109
--- /dev/null
+++ b/src/auxiliaryFunctions/find/find.h
@@ -0,0 +1,35 @@
+/*
+** -*- C -*-
+**
+** find.h
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Feb 8 10:12:17 2007 jofret
+** Last update Tue Feb 13 17:06:30 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#ifndef __FIND_H__
+#define __FIND_H__
+
+/*
+** \brief Float Find function
+*/
+int sfinda(float* x, int size);
+
+/*
+** \brief Double Find function
+*/
+int dfinda(double*x, int size);
+
+/*
+** \brief Float Complex Find function
+*/
+int cfinda(floatComplex* z, int size);
+
+/*
+** \brief Double Complex Find function
+*/
+int zfinda(doubleComplex* z, int size);
+#endif /* !__FIND_H__ */
diff --git a/src/auxiliaryFunctions/find/notFound.h b/src/auxiliaryFunctions/find/notFound.h
new file mode 100644
index 00000000..59d8c2fe
--- /dev/null
+++ b/src/auxiliaryFunctions/find/notFound.h
@@ -0,0 +1,18 @@
+/*
+** -*- C -*-
+**
+** notFound.h
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Feb 8 10:12:17 2007 jofret
+** Last update Tue Feb 13 17:16:47 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#ifndef __NOT_FOUND_H__
+#define __NOT_FOUND_H__
+
+#define NOT_FOUND -1
+
+#endif /* !__NOT_FOUND_H__ */
diff --git a/src/auxiliaryFunctions/find/sfinda.c b/src/auxiliaryFunctions/find/sfinda.c
new file mode 100644
index 00000000..aab853c6
--- /dev/null
+++ b/src/auxiliaryFunctions/find/sfinda.c
@@ -0,0 +1,19 @@
+/*
+** -*- C -*-
+**
+** sfinda.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Tue Feb 13 16:53:03 2007 jofret
+** Last update Tue Feb 13 17:13:30 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#include "notFound.h"
+
+int sfinda(float* x, int size) {
+ /* FIXME : Dummy !! */
+ return NOT_FOUND;
+}
+
diff --git a/src/auxiliaryFunctions/find/zfinda.c b/src/auxiliaryFunctions/find/zfinda.c
new file mode 100644
index 00000000..e43cfa84
--- /dev/null
+++ b/src/auxiliaryFunctions/find/zfinda.c
@@ -0,0 +1,19 @@
+/*
+** -*- C -*-
+**
+** zfinda.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Tue Feb 13 16:51:44 2007 jofret
+** Last update Tue Feb 13 17:15:42 2007 jofret
+**
+** Copyright INRIA 2007
+*/
+
+#include "doubleComplex.h"
+#include "notFound.h"
+
+int zfinda(doubleComplex* z, int size) {
+ /* FIXME : Dummy !! */
+ return NOT_FOUND;
+}