DiscreteUniformSamples(Random, Int32, Int32, Int32) Method |
Fills an array with samples generated from the distribution.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Samples(
Random rnd,
int[] values,
int lower,
int upper
)
Parameters
- rnd Random
- The random number generator to use.
- values Int32
- The array to fill with the samples.
- lower Int32
- Lower bound, inclusive. Range: lower ≤ upper.
- upper Int32
- Upper bound, inclusive. Range: lower ≤ upper.
Return Value
a sequence of samples from the discrete uniform distribution.
See Also