BinomialDistribution Constructor

Initializes a new binomial distribution.

Definition

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public BinomialDistribution(
	double p,
	int n
)

Parameters

p  Double
The probability of the success in a single trial, which must lie between zero and one.
n  Int32
The number of trials, which must be positive.

See Also