Click or drag to resize

HypergeometricSample(Int32, Int32, Int32) Method

Samples a random variable.

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

Parameters

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

Int32

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

See Also