Click or drag to resize

IntRandomHypergeometricDistribution Constructor

Constructs a random number generator for a discrete hypergeometric distribution using the specified distribution parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public IntRandomHypergeometricDistribution(
	int lotSize,
	int samplingSize,
	int markedElements
)

Parameters

lotSize  Int32
The lot size.
samplingSize  Int32
Size of sampling without replacement.
markedElements  Int32
Number of marked elements.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the lot size is less than 0, or the sampling size or number of marked elements is greater than the lot size.
See Also