samedi 17 février 2018

In Rust, what is the difference between a Sample and an IndependentSample?

Rust has a rand crate that provides random numbers.

This crate has a Sample trait and an IndependentSample trait.

Obviously, "Independent" is the difference between the two, but what does this mean semantically in the numbers generated? In the non-independent case, how are samples possibly dependent on one another?




Aucun commentaire:

Enregistrer un commentaire