Class DblBeta

    • Constructor Detail

      • DblBeta

        public DblBeta()
      • DblBeta

        public DblBeta​(double alpha,
                       double beta)
    • Method Detail

      • setDistribution

        protected void setDistribution​(org.apache.commons.math3.distribution.RealDistribution distribution)
        Description copied from class: DblDistribution
        Sets the continuous distribution to use.
        Overrides:
        setDistribution in class DblDistribution
      • getAlpha

        public double getAlpha()
      • setAlpha

        public void setAlpha​(double alpha)
                      throws org.apache.commons.math3.exception.NotStrictlyPositiveException
        Sets the parameter value for the distribution's shape parameter alpha.
        Parameters:
        alpha - The alpha value to use.
        Throws:
        org.apache.commons.math3.exception.NotStrictlyPositiveException - If alpha was <=0.
      • getBeta

        public double getBeta()
      • setBeta

        public void setBeta​(double beta)
                     throws org.apache.commons.math3.exception.NotStrictlyPositiveException
        Sets the shape parameter beta of the distribution.
        Parameters:
        beta - The beta parameter value to use.
        Throws:
        org.apache.commons.math3.exception.NotStrictlyPositiveException - If beta was <=0.