Documentation of 'org.apache.commons.math3.random.AbstractWell' Java class
AbstractWell
org.apache.commons.math3.random

Class AbstractWell

    • Method Detail

      • setSeed

        public void setSeed(int seed)
        Reinitialize the generator as if just built with the given int seed.

        The state of the generator is exactly the same as a new generator built with the same seed.

        Specified by:
        setSeed in interface RandomGenerator
        Specified by:
        setSeed in class BitsStreamGenerator
        Parameters:
        seed - the initial seed (32 bits integer)
      • setSeed

        public void setSeed(int[] seed)
        Reinitialize the generator as if just built with the given int array seed.

        The state of the generator is exactly the same as a new generator built with the same seed.

        Specified by:
        setSeed in interface RandomGenerator
        Specified by:
        setSeed in class BitsStreamGenerator
        Parameters:
        seed - the initial seed (32 bits integers array). If null the seed of the generator will be the system time plus the system identity hash code of the instance.
      • setSeed

        public void setSeed(long seed)
        Reinitialize the generator as if just built with the given long seed.

        The state of the generator is exactly the same as a new generator built with the same seed.

        Specified by:
        setSeed in interface RandomGenerator
        Specified by:
        setSeed in class BitsStreamGenerator
        Parameters:
        seed - the initial seed (64 bits integer)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.