DiscreteUniformSample(Random, Int32, Int32) Method | 
            Samples a uniformly distributed random variable.
            
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static int Sample(
	Random rnd,
	int lower,
	int upper
)
Parameters
- rnd  Random
 - The random number generator to use.
 - lower  Int32
 - Lower bound, inclusive. Range: lower ≤ upper.
 - upper  Int32
 - Upper bound, inclusive. Range: lower ≤ upper.
 
Return Value
Int32A sample from the discrete uniform distribution.
See Also