Constructs a random number generator for a discrete negative binomial distribution
using the specified number of failures before stopping and probability of success
on each trial.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public IntRandomNegativeBinomialDistribution(
int failures,
double probability
) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _
failures As Integer, _
probability As Double _
) |
| Visual C++ |
|---|
public:
IntRandomNegativeBinomialDistribution(
int failures,
double probability
) |
Exceptions
See Also