Class IntRandomHypergeometricDistribution generates random numbers from a discrete hypergeometric distribution.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public class IntRandomHypergeometricDistribution : IRandomNumberDistribution<int>, ICloneable |
| Visual Basic (Declaration) |
|---|
Public Class IntRandomHypergeometricDistribution _ Implements IRandomNumberDistribution(Of Integer), ICloneable |
| Visual C++ |
|---|
public ref class IntRandomHypergeometricDistribution : IRandomNumberDistribution<int>, ICloneable |
Remarks
Consider a lot of l elements comprising m "marked" and l-m "unmarked" elements. A trial sampling without
replacement of exactly s elements from this lot helps to define the hypergeometric distribution, which is
the probability that the group of s elements contains exactly k marked elements.