Class DotyHumphreySmallFastCounting64

  • All Implemented Interfaces:
    RandomLongSource, RestorableUniformRandomProvider, UniformRandomProvider

    public class DotyHumphreySmallFastCounting64
    extends LongProvider
    Implement the Small, Fast, Counting (SFC) 64-bit generator of Chris Doty-Humphrey. The original source is the PractRand test suite by the same author.

    The state size is 256-bits; the period is a minimum of 264 and an average of approximately 2255.

    Since:
    1.3
    See Also:
    PractRand
    • Constructor Detail

      • DotyHumphreySmallFastCounting64

        public DotyHumphreySmallFastCounting64​(long[] seed)
        Creates an instance with the given seed.
        Parameters:
        seed - Initial seed. If the length is larger than 3, only the first 3 elements will be used; if smaller, the remaining elements will be automatically set.