Click or drag to resize

IntRandomBernoulliDistribution Constructor (Double)

Constructs a random number generator for a discrete binomial distribution using the specified probability of success on each trial.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public IntRandomBernoulliDistribution(
	double probability
)

Parameters

probability
Type: SystemDouble
The probability of success on each trial.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if probability less than 0 or greater than 1.
See Also