dimanche 12 juillet 2015

Can I change a disttribution parametrs?

There is uniform_int_distribution in < random > When I creating that I define an interval. Can I change this interval after the creation?

for example

std::uniform_int_distribution distr(0, 10);
// can I change an interval here ?    




Aucun commentaire:

Enregistrer un commentaire