Class CumulativeGammaDistribution
The cumulative gamma distribution of shape a and unit scale: the regularized lower incomplete gamma function P(a, x), by its series below a + 1 and its continued fraction from there.
public sealed class CumulativeGammaDistribution
- Inheritance
-
CumulativeGammaDistribution
- Inherited Members
Constructors
CumulativeGammaDistribution(double)
Initializes a new instance of the CumulativeGammaDistribution class.
public CumulativeGammaDistribution(double a)
Parameters
adoubleThe shape, positive.
Exceptions
- ArgumentException
aisn't positive.
Methods
Evaluate(double)
The probability of a value below x.
public double Evaluate(double x)
Parameters
xdoubleThe point; 0 at or below 0.
Returns
- double
P(a, x).
Exceptions
- NanoQLException
Neither representation converges in 100 iterations.