Documentation of 'jhplot.math.num.random.ExponentialRandomVariable' Java class.
ExponentialRandomVariable
jhplot.math.num.random

Class ExponentialRandomVariable

    • Constructor Detail

      • ExponentialRandomVariable

        public ExponentialRandomVariable()
        Default constructor. Mean is set to 1.
      • ExponentialRandomVariable

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

        public ExponentialRandomVariable(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 double 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 double nextRandomVariable()
        Access the next random variable from this generator.
        Returns:
        the next random variable.

DMelt 3.0 © DataMelt by jWork.ORG