Documentation API of the 'jhplot.math.num.pdf.Uniform' Java class
Uniform
jhplot.math.num.pdf

Class Uniform

    • Constructor Detail

      • Uniform

        public Uniform()
        Default constructor. The lower bound is set to 0 and the upper bound is set to 1.
      • Uniform

        public Uniform(double a,               double b)
        Create a distribution with the given lower bound and upper bound values.
        Parameters:
        a - the lower bound parameter.
        b - the upper bound parameter.
    • Method Detail

      • cumulativeProbability

        public double cumulativeProbability(double x)
        The CDF for this distribution. This method returns P(X < x).
        Specified by:
        cumulativeProbability in class ContinuousDistribution
        Parameters:
        x - the value at which the CDF is evaluated.
        Returns:
        CDF for this distribution.
      • getLower

        public double getLower()
        Access the lower parameter.
        Returns:
        the lower parameter.
      • getUpper

        public double getUpper()
        Access the upper parameter.
        Returns:
        the upper parameter.
      • inverseCumulativeProbability

        public double inverseCumulativeProbability(double p)
        The inverse CDF for this distribution. This method returns x such that, P(X < x) = p.
        Specified by:
        inverseCumulativeProbability in class ContinuousDistribution
        Parameters:
        p - the cumulative probability.
        Returns:
        x
      • setLower

        public void setLower(double low)
        Modify the lower bound parameter.
        Parameters:
        low - the new lower bound value.
      • setUpper

        public void setUpper(double up)
        Modify the upper bound parameter.
        Parameters:
        up - the new upper bound value.

DMelt 1.2 © DataMelt by jWork.ORG

Uniform
jhplot.math.num.pdf

Class Uniform

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.