| IntRandomUniformDistribution(Int32, Int32, IntRandomUniformDistributionGenerationMethod) Constructor |
Constructs a random number generator with the specified lower and upper bounds.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public IntRandomUniformDistribution(
int lower,
int upper,
IntRandomUniformDistributionGenerationMethod method
)
Public Sub New (
lower As Integer,
upper As Integer,
method As IntRandomUniformDistributionGenerationMethod
)
public:
IntRandomUniformDistribution(
int lower,
int upper,
IntRandomUniformDistributionGenerationMethod method
)
new :
lower : int *
upper : int *
method : IntRandomUniformDistributionGenerationMethod -> IntRandomUniformDistribution
Parameters
- lower Int32
- The lower bound.
- upper Int32
- The upper bound.
- method IntRandomUniformDistributionGenerationMethod
- Generation method. Fast or Accurate.
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