Click or drag to resize

BinomialDistribution(Int32, Double) Constructor

Constructs a BinomialDistribution instance with the given number of trials, and the given probability of success on each trial.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public BinomialDistribution(
	int n,
	double p
)

Parameters

n  Int32
The total number of trials.
p  Double
The probability of success on each trial.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the number of trials is <0, or the probability of success is <0.0 or >1.0.
See Also