Table of Contents

Class CumulativeChiSquareDistribution

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

The cumulative chi-squared distribution with df degrees of freedom: P(df/2, x/2), the gamma CDF.

public sealed class CumulativeChiSquareDistribution
Inheritance
CumulativeChiSquareDistribution
Inherited Members

Constructors

CumulativeChiSquareDistribution(double)

Initializes a new instance of the CumulativeChiSquareDistribution class.

public CumulativeChiSquareDistribution(double df)

Parameters

df double

The degrees of freedom; the gamma distribution refuses a non-positive one when evaluated.

Methods

Evaluate(double)

The probability of a value below x.

public double Evaluate(double x)

Parameters

x double

The point.

Returns

double

P(df/2, x/2).

Exceptions

ArgumentException

The degrees of freedom aren't positive.

NanoQLException

The gamma function's series don't converge.