Continuous Uniform Distribution Constructor
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Continuous | Constructs a new ContinuousUniformDistribution over the unit interval. |
Continuous | Constructs a new ContinuousUniformDistribution over an interval with lower bound zero and specified upper bound. |
Continuous | Constructs a new ContinuousUniformDistribution over a specified interval. |
ContinuousUniformDistribution
Constructs a new ContinuousUniformDistribution
over the unit interval.
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.
public ContinuousUniformDistribution(
double upperBound
)
Parameters
- upperBound Double
- The upper bound of the interval.
Exceptions
ArgumentOutOfRangeException | upperBound is less than zero. |
ContinuousUniformDistribution(Double, Double)
Constructs a new ContinuousUniformDistribution
over a specified interval.
public ContinuousUniformDistribution(
double lowerBound,
double upperBound
)
Parameters
- lowerBound Double
- The lower bound of the interval.
- upperBound Double
- The upper bound of the interval.
Exceptions
ArgumentOutOfRangeException | upperBound is less than lowerBound. |