Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to generate normally distributed random numbers ?

$
0
0
Dear community, I'm trying to write a code aims to generate pseudorandom scalar drawn from the standard normal distribution. I have implemented these random functions [normal_distribution](http://en.cppreference.com/w/cpp/numeric/random) but I still not getting my expectations. I need to get this resultat, no matter how it's long : 0.9089 0.4115 0.0899 1.3467 0.8019 -1.9613 -0.1071 -2.8053 -0.5398 -1.4261 0.5250 -0.9969 ... Thank you in advance

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>