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

Class WeibullRandomVariable

    • Constructor Summary

      Constructors 
      Constructor and Description
      WeibullRandomVariable()
      Default constructor.
      WeibullRandomVariable(double a, double b)
      Create a rnadom variable with the given shape and scale values.
      WeibullRandomVariable(double a, double b, double c)
      Create a random variable with the given parameters.
      WeibullRandomVariable(double a, double b, double c, RNG source)
      Create a random variable with the given parameters.
      WeibullRandomVariable(double a, double b, RNG source)
      Create a random variable with the given shape and scale values.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double nextRandomVariable()
      Access the next random variable from this generator.
      static double nextRandomVariable(double shape, double scale, double location, RNG source)
      Access the next random variable using the given generator.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

DMelt 3.0 © DataMelt by jWork.ORG