BernoulliDistribution(Double, Generator) Constructor |
Initializes a new instance of the
BernoulliDistribution class with the specified probability,
using the specified
Generator as the underlying random number generator.
Namespace: Altaxo.Calc.ProbabilityAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic BernoulliDistribution(
double probability,
Generator generator
)
Parameters
- probability Double
- The success probability p in the range [0, 1].
- generator Generator
- A Generator object.
See Also