Constructs an UniformDistribution instance with the given upper and lower limits.

Namespace:  CenterSpace.NMath.Stats
Assembly:  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

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the upper and lower limits are the same.

See Also