BernoulliDistribution Constructor

Initializes a new instance of the BernoulliDistribution class having the specified success probability.

Definition

Namespace: Novacta.Analytics
Assembly: Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.1.0+428f3840cfab98dda567bb0ed350b302533e273a
C#
public BernoulliDistribution(
	double successProbability
)

Parameters

successProbability  Double
The success probability.

Exceptions

ArgumentOutOfRangeExceptionsuccessProbability is less than 0 or greater than 1.

See Also