Class GammaFunction

  • All Implemented Interfaces:
    DoubleUnaryOperator

    public class GammaFunction
    extends Object
    implements DoubleUnaryOperator
    The gamma function is a generalization of the factorial to complex and real numbers. It is defined by the integral: $$ \begin{equation*} \Gamma(z)=\int_0^\infty t^{z-1}e^{-t}dt \end{equation*} $$ and is related to the factorial by $$ \begin{equation*} \Gamma(n+1)=n! \end{equation*} $$ It is analytic everywhere but $z=0, -1, -2, \ldots$

    This class is a wrapper for the Commons Math library implementation of the Gamma function.

    • Constructor Detail

      • GammaFunction

        public GammaFunction()