Click or drag to resize

IntRandomHypergeometricDistribution Class

Class IntRandomHypergeometricDistribution generates random numbers from a discrete hypergeometric distribution.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreIntRandomHypergeometricDistribution

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public class IntRandomHypergeometricDistribution : IRandomNumberDistribution<int>, 
	ICloneable

The IntRandomHypergeometricDistribution type exposes the following members.

Constructors
  NameDescription
Public methodIntRandomHypergeometricDistribution
Constructs a random number generator for a discrete hypergeometric distribution using the specified distribution parameters.
Top
Properties
  NameDescription
Public propertyLotSize
Gets the lot size.
Public propertyMarkedElements
Gets the number of marked elements.
Public propertySamplingSize
Gets the size of sampling without replacement.
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this random number generator.
Public methodFill
Uses the given random number stream to fill the given array of integers with random values.
Top
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.
See Also