Constructs a random number generator for binomial distributions using a seeded RandGenMTwist class as the underlying uniform random number generator.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public RandGenBinomial(
	int trials,
	double probability,
	int seed
)
Visual Basic (Declaration)
Public Sub New ( _
	trials As Integer, _
	probability As Double, _
	seed As Integer _
)
Visual C++
public:
RandGenBinomial(
	int trials, 
	double probability, 
	int seed
)

Parameters

trials
Type: System..::.Int32
The total number of trials.
probability
Type: System..::.Double
The probability of success on each trial.
seed
Type: System..::.Int32
Random number seed.

See Also