summaryrefslogtreecommitdiff
path: root/src/type/doubleComplex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/type/doubleComplex.h')
-rw-r--r--src/type/doubleComplex.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/type/doubleComplex.h b/src/type/doubleComplex.h
new file mode 100644
index 00000000..7d96b72f
--- /dev/null
+++ b/src/type/doubleComplex.h
@@ -0,0 +1,28 @@
+/*
+** -*- C -*-
+**
+** doubleComplex.h
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Thu Nov 30 16:50:08 2006 jofret
+** Last update Thu Nov 30 17:53:13 2006 jofret
+**
+** Copyright INRIA 2006
+*/
+
+#ifndef __DOUBLECOMPLEX_H__
+#define __DOUBLECOMPLEX_H__
+
+struct double_complex
+{
+ double real;
+ double imag;
+};
+
+typedef struct double_complex doubleComplex;
+
+double real(doubleComplex);
+double imag(doubleComplex);
+doubleComplex DoubleComplex(double, double);
+
+#endif /* !__DOUBLECOMPLEX_H__ */