Class Well44497a

All Implemented Interfaces:
RandomIntSource, RestorableUniformRandomProvider, UniformRandomProvider
Direct Known Subclasses:
Well44497b

public class Well44497a extends AbstractWell
This class implements the WELL44497a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.

This generator is described in a paper by François Panneton, Pierre L'Ecuyer and Makoto Matsumoto Improved Long-Period Generators Based on Linear Recurrences Modulo 2 ACM Transactions on Mathematical Software, 32, 1 (2006). The errata for the paper are in wellrng-errata.txt.

Since:
1.0
See Also:
  • Field Details

  • Constructor Details

    • Well44497a

      public Well44497a(int[] seed)
      Creates a new random number generator.
      Parameters:
      seed - Initial seed.
  • Method Details

    • next

      public int next()
      Returns:
      the next random value.