public static final class IncompleteGamma.Upper extends Object
\[ \Gamma(a,x) = \int_x^{\infty} t^{a-1}\,e^{-t}\,dt \]
Modifier and Type | Method and Description |
---|---|
static double |
value(double a,
double x)
Computes the upper incomplete gamma function \( \Gamma(a, x) \).
|
static double |
value(double a,
double x,
double epsilon,
int maxIterations)
Computes the upper 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.