Beta
jhplot.math.num.special

Class Beta



  • public final class Betaextends Object
    Utility class that provides methods related to the beta family of functions.
    • Method Detail

      • logBeta

        public static double logBeta(double a,             double b)

        Returns the natural logarithm of the beta function B(a, b) (1).

        References:

        1. Eric W. Weisstein. "Beta Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/BetaFunction.html

        Parameters:
        a - the a parameter.
        b - the b parameter.
        Returns:
        log(B(a, b))
      • regularizedBeta

        public static double regularizedBeta(double x,                     double a,                     double b)                              throws NumericException

        Returns the regularized beta function Ix(a, b) (1).

        References:

        1. Eric W. Weisstein. "Regularized Beta Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RegularizedBetaFunction.html

        Parameters:
        x - the evaluation point.
        a - the a parameter.
        b - the b parameter.
        Returns:
        Ix(a, b)
        Throws:
        NumericException - if the value could not be computed.

SCaVis 2.1 © jWork.ORG