Class Knuth1969

    • Constructor Detail

      • Knuth1969

        public Knuth1969​(double lambda,
                         RandomLongGenerator uniform)
        Constructs a random number generator to sample from the Poisson distribution.
        Parameters:
        lambda - the shape parameter
        uniform - a uniform random number generator
      • Knuth1969

        public Knuth1969​(double lambda)
        Constructs a random number generator to sample from the Poisson distribution.
        Parameters:
        lambda - the shape parameter
    • 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