Having 1-bit random generator (which gives one or zero), create a function which will return 0, 1 or 2 with EQUAL probability.
Aucun commentaire:
Enregistrer un commentaire