Function rgsl::types::rng::other::vax

source ·
pub fn vax() -> RngType
Expand description

This is the VAX generator MTH$RANDOM. Its sequence is,

x_{n+1} = (a x_n + c) mod m

with a = 69069, c = 1 and m = 2^32. The seed specifies the initial value, x_1. The period of this generator is 2^32 and it uses 1 word of storage per generator.