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.3
Syntax
public IntRandomHypergeometricDistribution(
	int lotSize,
	int samplingSize,
	int markedElements
)

Parameters

lotSize
Type: SystemInt32
The lot size.
samplingSize
Type: SystemInt32
Size of sampling without replacement.
markedElements
Type: SystemInt32
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