UniformDiscreteSample Method (Int32, Int32)
|
Generate random variable sample.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static int Sample(
int leftBound,
int rightBound
)
Parameters
- leftBound
- Type: SystemInt32
Inclusive lower bound. - rightBound
- Type: SystemInt32
Inclusive upper bound.
Return Value
Type:
Int32Random variable sample.
See Also