Click or drag to resize

UniformDiscrete Constructor (RandomGenerator, Int32, Int32)

Creates new instance of discrete uniform distribution with user specified parameters and generator.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public UniformDiscrete(
	RandomGenerator generator,
	int leftBound,
	int rightBound
)

Parameters

generator
Type: FinMath.StatisticsRandomGenerator
Base random number generator.
leftBound
Type: SystemInt32
Inclusive lower bound.
rightBound
Type: SystemInt32
Inclusive upper bound.
See Also