Class PcgMcgXshRr32

    • Constructor Detail

      • PcgMcgXshRr32

        public PcgMcgXshRr32​(java.lang.Long seed)
        Creates a new instance.
        Parameters:
        seed - Initial seed.
    • Method Detail

      • transform

        protected int transform​(long x)
        Transform the 64-bit state of the generator to a 32-bit output. The transformation function shall vary with respect to different generators.
        Specified by:
        transform in class AbstractPcgMcg6432
        Parameters:
        x - State.
        Returns:
        the output