File: repmat.c1 /* 2 * File: repmat.c 3 * 4 * MATLAB Coder version : 3.0 5 * C/C++ source code generated on : 28-Feb-2020 13:01:40 6 */ 7 8 /* Include Files */ 9 #include "rt_nonfinite.h" 10 #include "neural_function.h" 11 #include "repmat.h" 12 13 /* Function Definitions */ 14 15 /* 16 * Arguments : double b[4] 17 * Return Type : void 18 */ 19 void b_repmat(double b[4]) 20 { 21 int k; 22 static const double a[4] = { -0.33026657365856554, -0.630823289871431, 23 -0.93045108323677916, 1.1202802918540664 }; 24 25 for (k = 0; k < 4; k++) { 26 b[k] = a[k]; 27 } 28 } 29 30 /* 31 * Arguments : double b[8] 32 * Return Type : void 33 */ 34 void repmat(double b[8]) 35 { 36 static const double a[8] = { -1.4699564190364058, 1.0870995020064027, 37 0.38155669090271538, -0.25489487195946009, 0.026652958046969384, 38 0.72058672289240189, 1.0363518543141623, -0.96206088434626091 }; 39 40 memcpy(&b[0], &a[0], sizeof(double) << 3); 41 } 42 43 /* 44 * File trailer for repmat.c 45 * 46 * [EOF] 47 */ 48 |