Sage Modeling and Simulation Library

BinomialDistribution Constructor (Double, Int32)

Create a binomial distribution.

Namespace:  Highpoint.Sage.Mathematics
Assembly:  Sage4 (in Sage4.dll)

Syntax


public BinomialDistribution(
	double probability,
	int numberOfOpps
)

Parameters

probability
Type: Double
The probability of success in any one Bernoulli trial.
numberOfOpps
Type: Int32
The number of Bernoulli trials in the experiment.