public class LFSR258extends RandomStreamBaseExtends
RandomStreamBaseusing a 64-bit composite linear feedback shift register (LFSR) (or Tausworthe) RNG as defined in. This generator is the LFSR258 proposed in. It has five components combined by a bitwise xor. Its period length is approximatively 2^258 . The values of V, W and Z are 2100, 2100 and 2200 respectively (see
RandomStreamfor their definition). The seed of the RNG, and the state of a stream at any given step, are five-dimensional vectors of 32-bit integers. The default initial seed of the RNG is (1234567890, 1234567890, 1234567890, 1234567890, 1234567890). The nextValue method returns numbers with 53 bits of precision. This generator is fast for 64-bit machines.
- See Also:
- Serialized Form