Click or drag to resize

ContinuousUniform(Double, Double, Random) Constructor

Initializes a new instance of the ContinuousUniform class with given lower and upper bounds.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public ContinuousUniform(
	double lower,
	double upper,
	Random randomSource
)

Parameters

lower  Double
Lower bound. Range: lower ≤ upper.
upper  Double
Upper bound. Range: lower ≤ upper.
randomSource  Random
The random number generator which is used to draw random samples.
Exceptions
ExceptionCondition
ArgumentExceptionIf the upper bound is smaller than the lower bound.
See Also