BernoulliDistribution Constructor |
Initializes a new Bernoulli distribution.
Namespace:
Meta.Numerics.Statistics.Distributions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public BernoulliDistribution(
double p1
)
Public Sub New (
p1 As Double
)
public:
BernoulliDistribution(
double p1
)
new :
p1 : float -> BernoulliDistribution
Parameters
- p1
- Type: SystemDouble
The probability of outcome 1, which must lie between zero and one.
See Also