lundi 1 juillet 2019

How do you build a number generator that returns 1 90% of the time, and 100 1% of the time?

I would like to introduce an element of randomness to a problem that I am doing. 10% of the time I want quite a large deviation, whereas the rest of the time I want a very small deviation.




Aucun commentaire:

Enregistrer un commentaire