Function rgsl::types::rng::other::vax [] [src]

pub fn vax() -> RngType

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 = 232. The seed specifies the initial value, x_1. The period of this generator is 232 and it uses 1 word of storage per generator.