Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. std::default_random_engine generator;
  2. //std::normal_distribution<double> distribution(5.0,2.0);
  3.  
  4. for (int i=0; i<nrolls; ++i) {
  5. std::normal_distribution<double> distribution(5.0,2.0);
  6. float x = distribution(generator);
  7.  
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement