X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fexamples%2Fexample4%2Fsrc%2Fconstants.h;fp=dol%2Fexamples%2Fexample4%2Fsrc%2Fconstants.h;h=36d73b2f8999b2003273f98775237a6c3acfcb0f;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/examples/example4/src/constants.h b/dol/examples/example4/src/constants.h new file mode 100644 index 0000000..36d73b2 --- /dev/null +++ b/dol/examples/example4/src/constants.h @@ -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