// // File: eml_rand_mt19937ar_stateful.cpp // // MATLAB Coder version : 5.2 // C/C++ source code generated on : 10-Mar-2023 15:16:29 // // Include Files #include "fun8_3_eml_rand_mt19937ar_stateful.h" #include "fun8_3_jamming_H_data.h" #include "rt_nonfinite.h" #include // Function Definitions // // Arguments : void // Return Type : void // void eml_rand_mt19937ar_stateful_init_8_3() { unsigned int r; std::memset(&state_8_3[0], 0, 625U * sizeof(unsigned int)); r = 5489U; state_8_3[0] = 5489U; for (int mti{0}; mti < 623; mti++) { r = ((r ^ r >> 30U) * 1812433253U + mti) + 1U; state_8_3[mti + 1] = r; } state_8_3[624] = 624U; } // // File trailer for eml_rand_mt19937ar_stateful.cpp // // [EOF] //