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

Class Normal

    • Constructor Detail

      • Normal

        public Normal()
        Default constructor. Mean is set to zero and standard deviation is set to one.
      • Normal

        public Normal(double m,              double s)
        Create a distribution with the given mean and standard deviation.
        Parameters:
        m - the mean.
        s - the standard deviation.
    • Method Detail

      • cumulativeProbability

        public double cumulativeProbability(double x)                             throws NumericException
        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.
        Throws:
        NumericException - if the cumulative probability can not be computed.
      • getMean

        public double getMean()
        Access the mean.
        Returns:
        the mean.
      • getStandardDeviation

        public double getStandardDeviation()
        Access the standard deviation.
        Returns:
        the standard deviation.
      • setMean

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

        public void setStandardDeviation(double std)
        Modify the standard deviation.
        Parameters:
        std - The new standard deviation 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.