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

Class Gamma

    • Constructor Detail

      • Gamma

        public Gamma()
        Default constructor. Alpha and beta are both set to 1.
      • Gamma

        public Gamma(double a,             double b)
        Create a distribution with the given alpha and beta values.
        Parameters:
        a - the alpha parameter.
        b - the beta parameter.
    • 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.
      • getAlpha

        public double getAlpha()
        Access the alpha parameter.
        Returns:
        the alpha parameter.
      • getBeta

        public double getBeta()
        Access the beta parameter.
        Returns:
        the beta parameter.
      • setAlpha

        public void setAlpha(double a)
        Modify the alpha parameter.
        Parameters:
        a - the new alpha value.
      • setBeta

        public void setBeta(double b)
        Modify the beta parameter.
        Parameters:
        b - the new beta value.

DataMelt 1.1 © jWork.ORG

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

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