Bernoulli Constructor (RandomGenerator, Double)
|
Creates new istance of Bernoulli with user specified success probability and generator.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public Bernoulli(
RandomGenerator generator,
double successProbability
)
Parameters
- generator
- Type: FinMath.StatisticsRandomGenerator
User specified generator. - successProbability
- Type: SystemDouble
Success probability in each trial.
See Also