diff options
Diffstat (limited to 'buch/papers/multiplikation/code/c_matrix.h')
-rw-r--r-- | buch/papers/multiplikation/code/c_matrix.h | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/buch/papers/multiplikation/code/c_matrix.h b/buch/papers/multiplikation/code/c_matrix.h new file mode 100644 index 0000000..14389fc --- /dev/null +++ b/buch/papers/multiplikation/code/c_matrix.h @@ -0,0 +1,101 @@ +/* Seminar Matrizen, autogenerated File, Michael Schmid, 02/08/2021, 22:48:43 */ + +#include <stdint.h> +const int A0[][2] = + { + {75,47}, + {-41,-24} + }; +const int B0[][2] = + { + {-53,-95}, + {-93,30} + }; +const double dB0[][2] = + { + {-53,-95}, + {-93,30} + }; +const double dA0[][2] = + { + {75,47}, + {-41,-24} + }; +const int A1[][4] = + { + {47,11,-66,8}, + {36,98,39,82}, + {-32,12,40,-79}, + {61,-20,-85,-98} + }; +const int B1[][4] = + { + {37,75,-53,9}, + {37,-33,-67,38}, + {70,39,-93,43}, + {43,41,23,-4} + }; +const double dB1[][4] = + { + {37,75,-53,9}, + {37,-33,-67,38}, + {70,39,-93,43}, + {43,41,23,-4} + }; +const double dA1[][4] = + { + {47,11,-66,8}, + {36,98,39,82}, + {-32,12,40,-79}, + {61,-20,-85,-98} + }; +const int A2[][8] = + { + {-54,-87,87,69,52,-21,-86,55}, + {19,-75,-61,-50,-55,-23,66,-92}, + {-73,-67,-36,19,84,-11,24,46}, + {-98,62,-76,57,-100,6,-23,-51}, + {62,46,1,-64,42,-9,85,-12}, + {35,-59,-17,-47,78,86,-50,74}, + {-15,45,33,-59,-9,-81,49,96}, + {-57,22,-43,7,-30,-45,-5,13} + }; +const int B2[][8] = + { + {-71,-82,-80,-78,83,-97,48,-24}, + {15,75,15,-60,-63,-53,1,-50}, + {-84,63,67,-2,78,93,-13,95}, + {61,-26,-88,56,56,27,26,1}, + {2,54,21,36,9,-41,53,53}, + {85,-11,42,-51,-6,3,27,97}, + {10,-2,90,-76,-75,0,8,-37}, + {10,-64,47,-69,66,-50,89,-66} + }; +const double dB2[][8] = + { + {-71,-82,-80,-78,83,-97,48,-24}, + {15,75,15,-60,-63,-53,1,-50}, + {-84,63,67,-2,78,93,-13,95}, + {61,-26,-88,56,56,27,26,1}, + {2,54,21,36,9,-41,53,53}, + {85,-11,42,-51,-6,3,27,97}, + {10,-2,90,-76,-75,0,8,-37}, + {10,-64,47,-69,66,-50,89,-66} + }; +const double dA2[][8] = + { + {-54,-87,87,69,52,-21,-86,55}, + {19,-75,-61,-50,-55,-23,66,-92}, + {-73,-67,-36,19,84,-11,24,46}, + {-98,62,-76,57,-100,6,-23,-51}, + {62,46,1,-64,42,-9,85,-12}, + {35,-59,-17,-47,78,86,-50,74}, + {-15,45,33,-59,-9,-81,49,96}, + {-57,22,-43,7,-30,-45,-5,13} + }; +const int *Ap[3] = {(int*) A0,(int*) A1,(int*) A2}; +const int *Bp[3] = {(int*) B0,(int*) B1,(int*) B2}; +const double *dAp[3] = {(double*) dA0,(double*) dA1,(double*) dA2}; +const double *dBp[3] = {(double*) dB0,(double*) dB1,(double*) dB2}; +int n[3] = {2,4,8}; +int n_arrays = 3; |