ProbabilityDistribution Type

Base class for all distributions.

Constructors

Constructor Description

ProbabilityDistribution()

Full Usage: ProbabilityDistribution()

Empty constructor. Use this only in inheritance hierarchies.

ProbabilityDistribution(ran)

Full Usage: ProbabilityDistribution(ran)

Parameters:
    ran : RandomGenerator - The random generator used to produce the random values.

Initialize the distribution by providing the random generator used to produce the random values.

ran : RandomGenerator

The random generator used to produce the random values.

Instance members

Instance member Description

this.CDF

Full Usage: this.CDF

Parameters:
    x : float - Location.

Returns: float Cumulative probability at x.
Modifiers: abstract

Gives the cumulative probability at x.

x : float

Location.

Returns: float

Cumulative probability at x.

this.Generator

Full Usage: this.Generator

Returns: RandomGenerator

Returns the random generator used by the distribution to generate the random values.

Returns: RandomGenerator

this.NextDouble

Full Usage: this.NextDouble

Returns: float
Modifiers: abstract

Generates a random value distributed according to the distribution.

Returns: float

this.PDF

Full Usage: this.PDF

Parameters:
    x : float - Location.

Returns: float Probability density at x.
Modifiers: abstract

Gives the probability density at x.

x : float

Location.

Returns: float

Probability density at x.

this.Quantile

Full Usage: this.Quantile

Parameters:
    p : float - The probability.

Returns: float The pth quantile, that is the value x for with holds: p==CDF(x)
Modifiers: abstract

Gives the pth quantile of the distribution.

p : float

The probability.

Returns: float

The pth quantile, that is the value x for with holds: p==CDF(x)

Static members

Static member Description

ProbabilityDistribution.DefaultGenerator

Full Usage: ProbabilityDistribution.DefaultGenerator

Returns: RandomGenerator

Returns: RandomGenerator