public static final class IncompleteGamma.Lower extends Object
\[ \gamma(a,x) = \int_0^x t^{a-1}\,e^{-t}\,dt \]
Modifier and Type | Method and Description |
---|---|
static double |
value(double a,
double x)
Computes the lower incomplete gamma function \( \gamma(a, x) \).
|
static double |
value(double a,
double x,
double epsilon,
int maxIterations)
Computes the lower incomplete gamma function \( \gamma(a, x) \).
|
public static double value(double a, double x)
a
- Argument.x
- Argument.ArithmeticException
- if the series evaluation fails to converge.public static double value(double a, double x, double epsilon, int maxIterations)
a
- Argument.x
- Argument.epsilon
- Tolerance in series evaluation.maxIterations
- Maximum number of iterations in series evaluation.ArithmeticException
- if the series evaluation fails to converge.Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.