summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlhan Özgen <ilhan.oezgen@wahyd.tu-berlin.de>2017-04-27 17:50:08 +0200
committerIlhan Özgen <ilhan.oezgen@wahyd.tu-berlin.de>2017-04-27 17:50:08 +0200
commit410b3ea09d25df872f7df092b838e1339f61525c (patch)
tree754efcd233e0fb3269738ea7f3123764fff49be4
parent99786bb9a49db0f9412dcd1d0b67abf81f35f259 (diff)
add global header
-rw-r--r--global.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/global.h b/global.h
new file mode 100644
index 0000000..5bdfeeb
--- /dev/null
+++ b/global.h
@@ -0,0 +1,33 @@
+#ifndef __GLOBAL_INCLUDED__
+#define __GLOBAL_INCLUDED__
+
+/**
+ * global.h
+ * --------
+ *
+ * define global structs and parameters
+ *
+ * @author ilhan oezgen, www.wahyd.tu-berlin.de
+ * @date 27 apr 17
+ **/
+
+
+/**
+ * define a diagonal matrix -- functionality of the
+ * matrix is implemented in diagonal.c
+ *
+ * len_c : number of columns in original matrix
+ * len_r : number of columns in original matrix
+ **/
+struct diag {
+
+ double* values;
+ int* ids;
+
+ int len_c;
+ int len_r;
+ int len_id;
+
+};
+
+#endif