Rayleigh
jhplot.math.num.pdf

Class Rayleigh

    • Constructor Detail

      • Rayleigh

        public Rayleigh()
        Default constructor. The scale parameter is set to one.
      • Rayleigh

        public Rayleigh(double s)
        Create a distribution with the scale parameter.
        Parameters:
        s - the scale 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.
      • getScale

        public double getScale()
        Access the scale parameter.
        Returns:
        the scale 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
      • setScale

        public void setScale(double s)
        Modify the scale parameter.
        Parameters:
        s - The new scale parameter value.

SCaVis 1.7 © jWork.org