| 134 | } |
| 135 | |
| 136 | void FastICA::random_normal (Eigen::MatrixXd &M) |
| 137 | { |
| 138 | std::random_device rd {}; |
| 139 | std::mt19937 gen {rd ()}; |
| 140 | std::normal_distribution<double> d {0, 1}; |
| 141 | |
| 142 | for (int r = 0; r < M.rows (); r++) |
| 143 | { |
| 144 | for (int c = 0; c < M.cols (); c++) |
| 145 | { |
| 146 | M (r, c) = d (gen); |
| 147 | } |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | int FastICA::get_matrixes (double *w_mat, double *k_mat, double *a_mat, double *s_mat) |
| 152 | { |
nothing calls this directly
no outgoing calls
no test coverage detected