Class GammaLowerIncomplete

All Implemented Interfaces:
Function<Vector,Double>, BivariateRealFunction, RealScalarFunction

public class GammaLowerIncomplete extends AbstractBivariateRealFunction
The Lower Incomplete Gamma function is defined as: \[ \gamma(s,x) = \int_0^x t^{s-1}\,e^{-t}\,{\rm d}t = P(s,x)\Gamma(s) \] P(s,x) is the Regularized Incomplete Gamma P function.

The integrand has the same form as the Gamma function, but the upper limit of the integration is a variable. The lower limit is fixed.

See Also:
  • Constructor Details

    • GammaLowerIncomplete

      public GammaLowerIncomplete()
  • Method Details

    • evaluate

      public double evaluate(double s, double x)
      Evaluate \(\gamma(s,x)\).
      Parameters:
      s - s > 0
      x - x ≥ 0
      Returns:
      \(\gamma(s,x)\)