WeibullRandomVariable
jhplot.math.num.random

Class WeibullRandomVariable

    • Constructor Detail

      • WeibullRandomVariable

        public WeibullRandomVariable()
        Default constructor. Shape and scale are both set to 1 and location is set to 0.
      • WeibullRandomVariable

        public WeibullRandomVariable(double a,                     double b)
        Create a rnadom variable with the given shape and scale values. Location is set to 0.
        Parameters:
        a - the shape parameter.
        b - the scale parameter.
      • WeibullRandomVariable

        public WeibullRandomVariable(double a,                     double b,                     double c)
        Create a random variable with the given parameters.
        Parameters:
        a - the shape parameter.
        b - the scale parameter.
        c - the location parameter.
      • WeibullRandomVariable

        public WeibullRandomVariable(double a,                     double b,                     double c,                     RNG source)
        Create a random variable with the given parameters.
        Parameters:
        a - the shape parameter.
        b - the scale parameter.
        c - the location parameter.
        source - the source generator.
      • WeibullRandomVariable

        public WeibullRandomVariable(double a,                     double b,                     RNG source)
        Create a random variable with the given shape and scale values. Location is set to 0.
        Parameters:
        a - the shape parameter.
        b - the scale parameter.
        source - the source generator.
    • Method Detail

      • nextRandomVariable

        public static double nextRandomVariable(double shape,                        double scale,                        double location,                        RNG source)
        Access the next random variable using the given generator.
        Parameters:
        shape - the shape parameter.
        scale - the scale parameter.
        location - the location parameter.
        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.

SCaVis 2.0 © jWork.ORG