Click or drag to resize

UniformSample Method (Double, Double)

Generate random variable sample.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static double Sample(
	double leftBound,
	double rightBound
)

Parameters

leftBound
Type: SystemDouble
Inclusive lower bound.
rightBound
Type: SystemDouble
Exclusive upper bound.

Return Value

Type: Double
Random variable sample.
See Also