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:04:44 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.472797822724785, 0.92455484292782286, 23 -0.41462547308168834, -0.44715035501184064 }; 24 25 for (k = 0; k < 4; k++) { 26 b[k] = a[k]; 27 } 28 } 29 30 /* 31 * Arguments : double b[25] 32 * Return Type : void 33 */ 34 void repmat(double b[25]) 35 { 36 static const double a[25] = { 1.4491273175136676, -1.2846874595191116, 37 1.16326986137335, 1.0709291272994497, -1.0340331192017203, 38 -0.92902337203750374, 0.63816120627110007, -0.65024611648326835, 39 0.57650358460873352, -0.33999774024741469, -0.27896244851014029, 40 0.11188717122173146, 0.079384381254150677, 0.15571961756963734, 41 -0.16985350069825109, 0.38407332170187841, -0.49016635052309693, 42 -0.61892509163706211, 0.70293207939070923, 0.89904836244838615, 43 0.966882816045955, 0.988649508355042, -1.2368276840468251, -1.30748431667654, 44 -1.4200170814806741 }; 45 46 memcpy(&b[0], &a[0], 25U * sizeof(double)); 47 } 48 49 /* 50 * File trailer for repmat.c 51 * 52 * [EOF] 53 */ 54 |