Table of Contents

Class CumulativeGammaDistribution

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

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

a double

The shape, positive.

Exceptions

ArgumentException

a isn't positive.

Methods

Evaluate(double)

The probability of a value below x.

public double Evaluate(double x)

Parameters

x double

The point; 0 at or below 0.

Returns

double

P(a, x).

Exceptions

NanoQLException

Neither representation converges in 100 iterations.