Click or drag to resize
Accord.NET (logo)

BinomialDistribution Constructor (Int32, Double)

Constructs a new binomial distribution.

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
)
Request Example View Source

Parameters

trials
Type: SystemInt32
The number of trials n.
probability
Type: SystemDouble
The success probability p in each trial.
See Also