ContinuousUniformDistribution Constructor

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ContinuousUniformDistribution() Constructs a new ContinuousUniformDistribution over the unit interval.
ContinuousUniformDistribution(Double) Constructs a new ContinuousUniformDistribution over an interval with lower bound zero and specified upper bound.
ContinuousUniformDistribution(Double, Double) Constructs a new ContinuousUniformDistribution over a specified interval.

ContinuousUniformDistribution

Constructs a new ContinuousUniformDistribution over the unit interval.
C#
public ContinuousUniformDistribution()

Remarks

This constructor creates the 'standard' uniform distribution over the unit interval [0, 1].

ContinuousUniformDistribution(Double)

Constructs a new ContinuousUniformDistribution over an interval with lower bound zero and specified upper bound.
C#
public ContinuousUniformDistribution(
	double upperBound
)

Parameters

upperBound  Double
The upper bound of the interval.

Exceptions

ArgumentOutOfRangeExceptionupperBound is less than zero.

ContinuousUniformDistribution(Double, Double)

Constructs a new ContinuousUniformDistribution over a specified interval.
C#
public ContinuousUniformDistribution(
	double lowerBound,
	double upperBound
)

Parameters

lowerBound  Double
The lower bound of the interval.
upperBound  Double
The upper bound of the interval.

Exceptions

ArgumentOutOfRangeExceptionupperBound is less than lowerBound.

See Also