Click or drag to resize

HypergeometricSamples(Int32, Int32, Int32, Int32) Method

Fills an array with samples generated from the distribution.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Samples(
	int[] values,
	int population,
	int success,
	int draws
)

Parameters

values  Int32
The array to fill with the samples.
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).
See Also