public static final class RegularizedGamma.Q extends Object
Modifier and Type | Method and Description |
---|---|
static double |
value(double a,
double x)
Computes the regularized gamma function \( Q(a, x) = 1 - P(a, x) \).
|
static double |
value(double a,
double x,
double epsilon,
int maxIterations)
Computes the regularized gamma function \( Q(a, x) = 1 - P(a, x) \).
|
public static double value(double a, double x)
a
- Argument.x
- Argument.ArithmeticException
- if the continued fraction fails to converge.public static double value(double a, double x, double epsilon, int maxIterations)
a
- Argument.x
- Argument.epsilon
- Tolerance in continued fraction evaluation.maxIterations
- Maximum number of iterations in continued fraction evaluation.ArithmeticException
- if the continued fraction fails to converge.Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.