dol: initial dol commit
[jump.git] / dol / examples / example4 / src / constants.h
diff --git a/dol/examples/example4/src/constants.h b/dol/examples/example4/src/constants.h
new file mode 100644 (file)
index 0000000..36d73b2
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef CONSTANTS_H
+#define CONSTANTS_H
+
+/*
+#define NUMBER_OF_ROWS_COLS     1
+#define MATRIX_A_INITIAL_VALUE  { 1.0 }
+#define MATRIX_B_INITIAL_VALUE  { 2.5 }
+*/
+
+#define NUMBER_OF_ROWS_COLS     2
+#define MATRIX_A_INITIAL_VALUE  { {1.0,  2.0 }, {  3.0,  4.0 } }
+#define MATRIX_B_INITIAL_VALUE  { {0.0, -1.0 }, { -2.0, -3.0 } }
+
+/*
+#define NUMBER_OF_ROWS_COLS     3
+#define MATRIX_A_INITIAL_VALUE  { {1.0, 2.0, 3.0 }, {4.0, 5.0, -4.0 }, {-3.0, -2.0, -1.0} }
+#define MATRIX_B_INITIAL_VALUE  { {1.0, 0.0, 0.0 }, {0.0, 1.0,  0.0 }, { 0.0,  0.0,  1.0} }
+*/
+
+#endif