|
BinomialDistribution Constructor (Int32, Double)
|
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public BinomialDistribution(
[PositiveIntegerAttribute(1, 2147483647)] int trials,
[UnitAttribute] double probability
)
Public Sub New (
<PositiveIntegerAttribute(1, 2147483647)> trials As Integer,
<UnitAttribute> probability As Double
)
Request Example
View SourceParameters
- trials
- Type: SystemInt32
The number of trials n. - probability
- Type: SystemDouble
The success probability p in each trial.
See Also