Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::default_random_engine generator;
- //std::normal_distribution<double> distribution(5.0,2.0);
- for (int i=0; i<nrolls; ++i) {
- std::normal_distribution<double> distribution(5.0,2.0);
- float x = distribution(generator);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement