API documentation of the 'jhplot.math.num.random.PoissonRandomVariable' Java class
PoissonRandomVariable
jhplot.math.num.random

Class PoissonRandomVariable

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.

DMelt 2.0 © DataMelt by jWork.ORG