Class NormalRNG

    • Constructor Detail

      • NormalRNG

        public NormalRNG​(double mean,
                         double sigma,
                         RandomStandardNormalGenerator rnorm)
        Construct a random number generator to sample from the Normal distribution.
        Parameters:
        mean - the mean
        sigma - the standard deviation
        rnorm - a standard random normal number generator
      • NormalRNG

        public NormalRNG​(double mean,
                         double sigma)
        Construct a random number generator to sample from the Normal distribution.
        Parameters:
        mean - the mean
        sigma - the standard deviation
    • Method Detail

      • seed

        public void seed​(long... seeds)
        Description copied from interface: Seedable
        Seed the random number/vector/scenario generator to produce repeatable experiments.
        Specified by:
        seed in interface Seedable
        Parameters:
        seeds - the seeds