rUniform

fun rUniform(streamNum: Int): Double

Generates a continuous U(0,1) using the supplied stream number

Return

the random value

Parameters

streamNum

the stream number from the stream provider to use


fun rUniform(stream: RNStreamIfc = defaultRNStream()): Double

Generates a continuous U(0,1) using the supplied stream

Return

the random value

Parameters

stream

the random number stream


fun rUniform(minimum: Double, maximum: Double, streamNum: Int): Double

Generates a continuous uniform over the range

Return

the random value

Parameters

minimum

the minimum of the range, must be less than maximum

maximum

the maximum of the range

streamNum

the stream number from the stream provider to use


fun rUniform(minimum: Double = 0.0, maximum: Double = 1.0, stream: RNStreamIfc = defaultRNStream()): Double

Generates a continuous uniform over the range

Return

the random value

Parameters

minimum

the minimum of the range, must be less than maximum

maximum

the maximum of the range

stream

the random number stream