70
edits
Changes
→Code
std::normal_distribution<double> b_dist(1.0,0.2);
std::normal_distribution<double> x_dist(0.0,1);
#pragma omp parallel for schedule(guided, 1)
for(std::size_t i = 0; i < N; i++) {
m_real[i] = m_dist(generator);