Click or drag to resize

RandGenUniform(Double, Double) Constructor

Constructs a random number generator using a RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a uniform distribution with the specified lower and upper bounds.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public RandGenUniform(
	double lowerBound,
	double upperBound
)

Parameters

lowerBound  Double
The lower bound.
upperBound  Double
The upper bound.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the lower and upper bounds are equal.
See Also