StdRandomUniform Method (Double, Double) |
Returns a random real number uniformly in [a, b).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static double Uniform(
double a,
double b
)
Parameters
- a
- Type: SystemDouble
a the left endpoint - b
- Type: SystemDouble
b the right endpoint
Return Value
Type:
Doublea random real number uniformly in [a, b)
Exceptions See Also