Sage Modeling and Simulation Library

BinomialDistribution Constructor (IModel, String, Guid, Double, Int32)

Create a binomial distribution.

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

Syntax


public BinomialDistribution(
	IModel model,
	string name,
	Guid guid,
	double probability,
	int numberOfOpps
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model that owns this BinomialDistribution.
name
Type: String
The name of this BinomialDistribution.
guid
Type: Guid
The GUID of this BinomialDistribution.
probability
Type: Double
The probability of success in any one Bernoulli trial.
numberOfOpps
Type: Int32
The number of Bernoulli trials in the experiment.