NegativeBinomial Constructor (RandomGenerator, Int32, Double)
|
Creates new istance of NegativeBinomial with user specified parameters and generator.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public NegativeBinomial(
RandomGenerator generator,
int numberOfFailures,
double successProbability
)
Parameters
- generator
- Type: FinMath.StatisticsRandomGenerator
User specified generator. - numberOfFailures
- Type: SystemInt32
Number of failures until the experiment is stopped. - successProbability
- Type: SystemDouble
Success probability in each trial.
See Also