 | IntRandomUniformDistribution Constructor (Int32, Int32) |
Constructs a random number generator with the specified lower and upper bounds.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.3
Syntaxpublic IntRandomUniformDistribution(
int lower,
int upper
)
Public Sub New (
lower As Integer,
upper As Integer
)
public:
IntRandomUniformDistribution(
int lower,
int upper
)
new :
lower : int *
upper : int -> IntRandomUniformDistribution
Parameters
- lower
- Type: SystemInt32
The lower bound. - upper
- Type: SystemInt32
The upper bound.
Remarks
Generates random numbers uniformly distributed over the interval [a, b), where a, b are the left
and right bounds of the interval respectively.
See Also