Distribution Type

Declares common functionality for all random number distributions.

Constructors

Constructor Description

Distribution()

Full Usage: Distribution()

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

Distribution(generator)

Full Usage: Distribution(generator)

Parameters:

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

generator : Generator

A Distribution.Generator object.

ArgumentNullException generator is NULL ( in Visual Basic).

Instance members

Instance member Description

this.CanReset

Full Usage: this.CanReset

Returns: bool

Gets a value indicating whether the random number distribution can be reset, so that it produces the same random number sequence again.

Returns: bool

this.Generator

Full Usage: this.Generator

Gets or sets a Distribution.Generator object that can be used as underlying random number generator.

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Gets the maximum possible value of distributed random numbers.

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Gets the mean of distributed random numbers.

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Gets the median of distributed random numbers.

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Gets the minimum possible value of distributed random numbers.

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Gets the mode of distributed random numbers.

Returns: float[]

this.NextDouble

Full Usage: this.NextDouble

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

Returns a distributed floating point random number.

Returns: float

A distributed double-precision floating point number.

this.Reset

Full Usage: this.Reset

Returns: bool , if the random number distribution was reset; otherwise, .

Resets the random number distribution, so that it produces the same random number sequence again.

Returns: bool

, if the random number distribution was reset; otherwise, .

this.Variance

Full Usage: this.Variance

Returns: float
Modifiers: abstract

Gets the variance of distributed random numbers.

Returns: float

Static members

Static member Description

Distribution.DefaultGenerator

Full Usage: Distribution.DefaultGenerator

Returns: Generator

Returns: Generator