Constructs an UniformDistribution instance with the given upper and lower
limits.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public UniformDistribution( double lowerLimit, double upperLimit ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ lowerLimit As Double, _ upperLimit As Double _ ) |
| Visual C++ |
|---|
public: UniformDistribution( double lowerLimit, double upperLimit ) |
Parameters
- lowerLimit
- Type: System..::.Double
The lower limit for the distribution.
- upperLimit
- Type: System..::.Double
The upper limit for the distribution.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the upper and lower limits are the same. |