Function rgsl::types::rng::other::fishman2x
[−]
[src]
pub fn fishman2x() -> RngType
This is the L’Ecuyer–Fishman random number generator. It is taken from Knuth’s Seminumerical Algorithms, 3rd Ed., page 108. Its sequence is,
z_{n+1} = (x_n - y_n) mod m
with m = 231 - 1. x_n and y_n are given by the fishman20 and lecuyer21 algorithms. The seed specifies the initial value, x_1.