Click or drag to resize

RandGenUniformSetRange(Double, Double) Method

Sets the range for this generator to the specifed lower and upper bounds.

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

Parameters

lowerBound  Double
The lower bound.
upperBound  Double
The upper bound.

Return Value

RandGenUniform
This random number generator.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the upper and lower bounds are equal.
See Also