Continuous Uniform Distribution Constructor
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
Argument | upperBound is less than zero. |
ContinuousUniformDistribution(Double, Double)
Constructs a new ContinuousUniformDistribution
over a specified interval.
public ContinuousUniformDistribution(
double lowerBound,
double upperBound
)
Parameters
Exceptions
Argument | upperBound is less than lowerBound. |