Function rgsl::types::rng::other::randu
[−]
[src]
pub fn randu() -> RngType
This is the IBM RANDU generator. Its sequence is
x_{n+1} = (a x_n) mod m
with a = 65539 and m = 231. The seed specifies the initial value, x_1. The period of this generator was only 229. It has become a textbook example of a poor generator.