Click or drag to resize

RandomNumberGeneratorUniform Method (Double, Double)

Draws a sample point from a Uniform distribution defined on the interval having the specified bounds.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public double Uniform(
	double lowerBound,
	double upperBound
)

Parameters

lowerBound
Type: SystemDouble
The interval lower bound.
upperBound
Type: SystemDouble
The interval upper bound.

Return Value

Type: Double
A sample point drawn from the specified Uniform distribution.
Exceptions
ExceptionCondition
ArgumentExceptionupperBound is not greater than lowerBound.
See Also