mercredi 1 juillet 2015

Random numbers that follow a linear drop distribution in Python

I'd like to generate random numbers that follow a dropping linear frequency distribution, take n=1-x for an example.

The numpy library however seems to offer only more complex distributions.




Aucun commentaire:

Enregistrer un commentaire