ChiDistribution Type

Provides generation of chi distributed random numbers.

The implementation of the ChiDistribution type bases upon information presented on Wikipedia - Chi distribution.

Constructors

Constructor Description

ChiDistribution()

Full Usage: ChiDistribution()

Initializes a new instance of the ChiDistribution class, using a StandardGenerator as underlying random number generator.

ChiDistribution(generator)

Full Usage: ChiDistribution(generator)

Parameters:

Initializes a new instance of the ChiDistribution class, using the specified Generator as underlying random number generator.

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

ChiDistribution(N)

Full Usage: ChiDistribution(N)

Parameters:
    N : int - Parameter of the distribution.

Initializes a new instance of the ChiDistribution class, using the default random number generator.

N : int

Parameter of the distribution.

ChiDistribution(N, generator)

Full Usage: ChiDistribution(N, generator)

Parameters:

Initializes a new instance of the ChiDistribution class, using the specified Generator as underlying random number generator.

N : int

Parameter of the distribution.

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

Instance members

Instance member Description

this.CDF

Full Usage: this.CDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Initialize

Full Usage: this.Initialize

Parameters:
    N : int

N : int

this.IsValidN

Full Usage: this.IsValidN

Parameters:
    value : int - The value to check.

Returns: bool Returns if value is greater than 0; otherwise, .

Determines whether the specified value is valid for parameter ChiDistribution.N.

value : int

The value to check.

Returns: bool

Returns if value is greater than 0; otherwise, .

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Gets the maximum possible value of chi distributed random numbers.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Gets the mean value of chi distributed random numbers.

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Gets the median of chi distributed random numbers.

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Gets the minimum possible value of chi distributed random numbers.

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Gets the mode of chi distributed random numbers.

Returns: float[]

this.N

Full Usage: this.N

Gets or sets the parameter N (degree of freedom) which is used for generation of chi distributed random numbers.

Call ChiDistribution.IsValidN to determine whether a value is valid and therefor assignable.

this.NextDouble

Full Usage: this.NextDouble

Returns: float A chi distributed double-precision floating point number.
Modifiers: abstract

Returns a chi distributed floating point random number.

Returns: float

A chi distributed double-precision floating point number.

this.PDF

Full Usage: this.PDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Quantile

Full Usage: this.Quantile

Parameters:
    p : float

Returns: float
Modifiers: abstract

p : float
Returns: float

this.Variance

Full Usage: this.Variance

Returns: float
Modifiers: abstract

Gets the variance of chi distributed random numbers.

Returns: float

Static members

Static member Description

ChiDistribution.CDF(x, N)

Full Usage: ChiDistribution.CDF(x, N)

Parameters:
    x : float
    N : float

Returns: float

x : float
N : float
Returns: float

ChiDistribution.PDF(x, N)

Full Usage: ChiDistribution.PDF(x, N)

Parameters:
    x : float
    N : float

Returns: float

x : float
N : float
Returns: float

ChiDistribution.Quantile(p, N)

Full Usage: ChiDistribution.Quantile(p, N)

Parameters:
    p : float
    N : float

Returns: float

p : float
N : float
Returns: float