Click or drag to resize

HypergeometricSamples(Random, Int32, Int32, Int32) Method

Samples a sequence of this random variable.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IEnumerable<int> Samples(
	Random rnd,
	int population,
	int success,
	int draws
)

Parameters

rnd  Random
The random number generator to use.
population  Int32
The size of the population (N).
success  Int32
The number successes within the population (K, M).
draws  Int32
The number of draws without replacement (n).

Return Value

IEnumerableInt32

[Missing <returns> documentation for "M:Altaxo.Calc.Distributions.Hypergeometric.Samples(System.Random,System.Int32,System.Int32,System.Int32)"]

See Also