PoissonRandomVariable
jhplot.math.num.random

Class PoissonRandomVariable

    • Constructor Detail

      • PoissonRandomVariable

        public PoissonRandomVariable()
        Default constructor. Mean is set to zero and standard deviation is set to one.
      • PoissonRandomVariable

        public PoissonRandomVariable(double m)
        Create a random variable with the given mean.
        Parameters:
        m - the mean.
      • PoissonRandomVariable

        public PoissonRandomVariable(double m,                     RNG source)
        Create a random variable with the given parameters.
        Parameters:
        m - the mean.
        source - the source generator.
    • Method Detail

      • nextRandomVariable

        public static int nextRandomVariable(double m,                     RNG source)
        Access the next random variable using the given generator.
        Parameters:
        m - the mean.
        source - the source generator.
        Returns:
        the next random variable.
      • nextRandomVariable

        public int nextRandomVariable()
        Access the next random variable from this generator.
        Returns:
        the next random variable.

SCaVis 1.8 © jWork.org