ContinuousUniformDistribution Type

Provides generation of continuous uniformly distributed random numbers.

The implementation of the ContinuousUniformDistribution type bases upon information presented on Wikipedia - Uniform distribution (continuous).

Constructors

Constructor Description

ContinuousUniformDistribution()

Full Usage: ContinuousUniformDistribution()

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

ContinuousUniformDistribution(generator)

Full Usage: ContinuousUniformDistribution(generator)

Parameters:

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

generator : Generator

A Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

ContinuousUniformDistribution(lower, upper)

Full Usage: ContinuousUniformDistribution(lower, upper)

Parameters:
    lower : float
    upper : float

lower : float
upper : float

ContinuousUniformDistribution(lower, upper, generator)

Full Usage: ContinuousUniformDistribution(lower, upper, generator)

Parameters:
    lower : float
    upper : float
    generator : Generator

lower : float
upper : float
generator : Generator

Instance members

Instance member Description

this.Alpha

Full Usage: this.Alpha

Returns: float

Gets or sets the parameter alpha which is used for generation of uniformly distributed random numbers.

Call ContinuousUniformDistribution.IsValidAlpha to determine whether a value is valid and therefor assignable.

Returns: float

this.Beta

Full Usage: this.Beta

Returns: float

Gets or sets the parameter beta which is used for generation of uniformly distributed random numbers.

Call ContinuousUniformDistribution.IsValidBeta to determine whether a value is valid and therefor assignable.

Returns: float

this.CDF

Full Usage: this.CDF

Parameters:
    z : float

Returns: float
Modifiers: abstract

z : float
Returns: float

this.Initialize

Full Usage: this.Initialize

Parameters:
    lower : float
    upper : float

lower : float
upper : float

this.IsValidAlpha

Full Usage: this.IsValidAlpha

Parameters:
    value : float - The value to check.

Returns: bool if value is a valid number and not infinity; otherwise, .

Determines whether the specified value is valid for parameter ContinuousUniformDistribution.Alpha.

value : float

The value to check.

Returns: bool

if value is a valid number and not infinity; otherwise, .

this.IsValidBeta

Full Usage: this.IsValidBeta

Parameters:
    value : float - The value to check.

Returns: bool if value is a valid number and not infinity; otherwise, .

Determines whether the specified value is valid for parameter ContinuousUniformDistribution.Beta.

value : float

The value to check.

Returns: bool

if value is a valid number and not infinity; otherwise, .

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Gets the maximum possible value of uniformly distributed random numbers.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Gets the mean value of the uniformly distributed random numbers.

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Gets the median of uniformly distributed random numbers.

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Gets the minimum possible value of uniformly distributed random numbers.

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Gets the mode of the uniformly distributed random numbers.

Returns: float[]

this.NextDouble

Full Usage: this.NextDouble

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

Returns a uniformly distributed floating point random number.

Returns: float

A uniformly distributed double-precision floating point number.

this.PDF

Full Usage: this.PDF

Parameters:
    z : float

Returns: float
Modifiers: abstract

z : 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 uniformly distributed random numbers.

Returns: float

Static members

Static member Description

ContinuousUniformDistribution.CDF(z, low, high)

Full Usage: ContinuousUniformDistribution.CDF(z, low, high)

Parameters:
    z : float
    low : float
    high : float

Returns: float

z : float
low : float
high : float
Returns: float

ContinuousUniformDistribution.PDF(z, low, high)

Full Usage: ContinuousUniformDistribution.PDF(z, low, high)

Parameters:
    z : float
    low : float
    high : float

Returns: float

z : float
low : float
high : float
Returns: float

ContinuousUniformDistribution.Quantile(p, low, high)

Full Usage: ContinuousUniformDistribution.Quantile(p, low, high)

Parameters:
    p : float
    low : float
    high : float

Returns: float

p : float
low : float
high : float
Returns: float