I am getting to know the
rand crate and I have seen that an
Rng as a
gen_iter() method, which can be concatenated with
take(n), for example, to generate
n uniformly distributed numbers.
If I want to draw normally distributed numbers I can use
rand::distributions::Normal, which has an
ind_sample() method that takes an
Rng. Is there any way to get a generator from a
Normal or do I have to repeatedly call
ind_sample() to get
n normally distributed numbers?