| RandomNumberGeneratorDiscreteUniform Method (Int32, Int32) |
Draws a sample point from a discrete 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 int DiscreteUniform(
int lowerBound,
int upperBound
)
Public Function DiscreteUniform (
lowerBound As Integer,
upperBound As Integer
) As Integer
public:
int DiscreteUniform(
int lowerBound,
int upperBound
)
member DiscreteUniform :
lowerBound : int *
upperBound : int -> int
Parameters
- lowerBound
- Type: SystemInt32
The interval lower bound, inclusive. - upperBound
- Type: SystemInt32
The interval upper bound, exclusive.
Return Value
Type:
Int32
A sample point drawn from the specified
discrete Uniform distribution.
Exceptions See Also