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

Class Exponential

    • Constructor Detail

      • Exponential

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

        public Exponential(double m)
        Create a distribution with the given mean.
        Parameters:
        m - the mean.
    • 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.
      • getMean

        public double getMean()
        Access the mean.
        Returns:
        the mean.
      • 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
      • setMean

        public void setMean(double m)
        Modify the mean.
        Parameters:
        m - The new mean value.

SCaVis 2.4 © jWork.ORG

Warning: You see this message because an access to the SCaVis documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of SCaVis, please request the full SCaVis membership.

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